Challenge: Non-Europe Capitals Sort
Task
Swipe to start coding
Write an SQL query to get the name
, capital
, and continent
columns from the country
table (please retrieve these columns in this order). These countries must be not from the Europe
continent. Sort the result by the capital
column.
Note
europe
is not the same asEurope
, so be careful and write:Europe
correctly.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 4. ChapterΒ 6