Query a count of the number of cities in CITY having a Population larger than 100,000.
Solution
SELECT COUNT(NAME) FROM CITY WHERE POPULATION > 100000
Query the total population of all cities in CITY where District is California.
Solution
SELECT SUM(POPULATION) FROM CITY WHERE DISTRICT = 'California'
Query the average population of all cities in CITY where District is California.
Solution
SELECT AVG(POPULATION) FROM CITY WHERE DISTRICT = 'California'