Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

How list the country with the greatest population

$
0
0
We have a table that has 2 attributes (Name, population)
When I write:

SELECT Name, MAX (Population) From Country

I don’t see the name of “correct” country in the result.
Suppose the correct answer is “China”
But I see the “Austria” (the first name in the table) instead of seeing “China”

Could you please guide me

Viewing all articles
Browse latest Browse all 13329

Trending Articles