Difference between revisions of "SUM and COUNT Quiz"
From SQLZOO
| Line 34: | Line 34: | ||
{Select the statement that shows the name and population density of the country with the largest population | {Select the statement that shows the name and population density of the country with the largest population | ||
| − | |||
|type="()"} | |type="()"} | ||
+ SELECT name, population/area AS density FROM bbc WHERE population = (SELECT MAX(population) FROM bbc) | + SELECT name, population/area AS density FROM bbc WHERE population = (SELECT MAX(population) FROM bbc) | ||
Revision as of 11:26, 18 July 2012
BBC QUIZ