You are viewing a single comment's thread. Return to all comments →
SELECT SUM(population) FROM City WHERE district = "California";
This never worked for me for some reason but the following script did:
SELECT ROUND(AVG(population)*COUNT(population)) FROM City WHERE district = "California";
Can someone explain why this modified script works?
Seems like cookies are disabled on this browser, please enable them to open this website
Revising Aggregations - The Sum Function
You are viewing a single comment's thread. Return to all comments →
This never worked for me for some reason but the following script did:
Can someone explain why this modified script works?