sdelacruz8
MIS
How do I get the top N based on 2 groups in Access 2002? For example, I have the following fields: Country, City, and Population.
I want to be able to see the Country and City with the top 2 highest population.
Country CITY Population
USA NEW YORK CITY 500
USA VIRGINIA BEACH 200
USA CHARLOTTE 400
USA LONG BEACH 600
CHINA HONGKONG 800
CHINA BEIJING 700
CHINA SHANGHAI 600
So, in this example, I want to see for USA: New York City and Longbeach, for CHINA: Hongkong and Beijing.
Thanks!
I want to be able to see the Country and City with the top 2 highest population.
Country CITY Population
USA NEW YORK CITY 500
USA VIRGINIA BEACH 200
USA CHARLOTTE 400
USA LONG BEACH 600
CHINA HONGKONG 800
CHINA BEIJING 700
CHINA SHANGHAI 600
So, in this example, I want to see for USA: New York City and Longbeach, for CHINA: Hongkong and Beijing.
Thanks!