Questions about enumerating rows have been asked dozens of times in this forum. It seems that each time there is a slightly different need.
The following queries will work unless city and country names are duplicated. In that case, you'll get duplicated numbers. If your table is large, the queries may be slow.
Example: number if sorted by city
SELECT
(Select count(*)
From tableA
Where City & "|" & Country <= t.City & "|" & t.Country) AS nmbr,
t.City, t.Country
FROM tableA AS t
ORDER BY t.City, t.Country;
Example: number if sorted by country
Select
(Select count(*)
From tableA
Where Country & "|" & City <= t.Country & "|" & t.City) as Nmbr,
t.City, t.Country
From tableA as t
Order By t.Country, t.City; Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.