Course Content
Introduction to SQL
Introduction to SQL
Challenge: North America Population Sort
Here is the country
table we are working with:
Swipe to show code editor
Write an SQL query to retrieve the id
,name
, population
, and continent
from the country
table (please retrieve these columns in this order), returning only rows with the 'North America' continent, and displaying the result in descending order by population
.
Thanks for your feedback!
Challenge: North America Population Sort
Here is the country
table we are working with:
Swipe to show code editor
Write an SQL query to retrieve the id
,name
, population
, and continent
from the country
table (please retrieve these columns in this order), returning only rows with the 'North America' continent, and displaying the result in descending order by population
.
Thanks for your feedback!