Challenge: Europe Region Sort
Swipe to start coding
Write an SQL query to get the name
, region
, capital
, and population
columns from the country
table (please retrieve these columns in this order). These countries must be from the 'Europe' continent
and have a population
of ββover 100000. Then, sort the result by two of them - first by region
in ascending order, then by capital
, also in ascending order.
Note
Note that
europe
is not the same asEurope
, so be careful and write correctly:Europe
.
Solution
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Awesome!
Completion rate improved to 2.44
Challenge: Europe Region Sort
Swipe to show menu
Swipe to start coding
Write an SQL query to get the name
, region
, capital
, and population
columns from the country
table (please retrieve these columns in this order). These countries must be from the 'Europe' continent
and have a population
of ββover 100000. Then, sort the result by two of them - first by region
in ascending order, then by capital
, also in ascending order.
Note
Note that
europe
is not the same asEurope
, so be careful and write correctly:Europe
.
Solution
Thanks for your feedback!
Awesome!
Completion rate improved to 2.44single