RienSQL
TASK #111 · Medium · DomClick

Population of each region

Your brief
Count the population of each region. As a result, print the name of the region and its population.
Expected columnsregion_name total_populationDomClick
SQL editor
SQLite
Ctrl / ⌘ + ↵
Result

Write a query and run it to see the results.

Schema
Countriesid, name
Regionsid, name, countryid
Citiesid, name, regionid, population
EventTypeid, name
Eventsid, cityid, typeid, date, costs