Difference between revisions of "SUM and COUNT Quiz"
From SQLZOO
| Line 74: | Line 74: | ||
|type="()"} | |type="()"} | ||
- Table-A | - Table-A | ||
| − | + | - Table-B | |
- Table-C | - Table-C | ||
- No result due to invalid use of the GROUP BY function | - No result due to invalid use of the GROUP BY function | ||
| − | + | + No result due to invalid use of the WHERE function | |
{Select the statement that shows the average population of 'Poland', 'Germany' and 'Denmark' | {Select the statement that shows the average population of 'Poland', 'Germany' and 'Denmark' | ||
Revision as of 20:22, 19 September 2012
SUM and COUNT QUIZ
| name | region | area | population | gdp |
|---|---|---|---|---|
| Afghanistan | South Asia | 652225 | 26000000 | |
| Albania | Europe | 28728 | 3200000 | 6656000000 |
| Algeria | Middle East | 2400000 | 32900000 | 75012000000 |
| Andorra | Europe | 468 | 64000 | |
| ... | ||||