Population Census

Sort by

recency

|

1513 Discussions

|

  • + 0 comments

    MySQL - select sum(city.population) from city inner join country on country.code = city.countrycode where country.continent = 'Asia';

  • + 0 comments

    For MySQL Platform

    SELECT SUM(city.population) FROM city
    JOIN country ON city.countrycode = country.code
    WHERE country.continent = "asia";
    
  • + 0 comments

    MYSQL SELECT SUM(CITY.POPULATION) FROM CITY JOIN COUNTRY ON CITY.COUNTRYCODE = COUNTRY.CODE WHERE COUNTRY.CONTINENT = 'Asia';

  • + 0 comments
    SELECT SUM(CITY.POPULATION) FROM CITY INNER JOIN COUNTRY ON CITY.CountryCode=COUNTRY.Code
    WHERE CONTINENT ='Asia'
    
  • + 0 comments

    MS SQL Server

    SELECT SUM(city.population) FROM city INNER JOIN country ON CITY.CountryCode = COUNTRY.Code
    WHERE country.continent = 'Asia'