HackerRank MySQL - Revising Aggregations - The Sum Function




Query the total population of all cities in CITY where District is California.



  1. SELECT SUM(POPULATION)
  2. FROM CITY
  3. WHERE DISTRICT = 'California';




codesadda.com

Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more. Sign Up for our weekly newsletter to get update about new content.

Like us on Facebook | Connect with us on LinkedIn | Subscribe our Channel on Youtube