Section 1. Chapter 20
single
Challenge: Find Countries, IDs, Populations, Regions, and Sort Them
Swipe to show menu
Task
Swipe to start coding
- Write an SQL query to get all
id,name, andpopulation,regioncolumns from thecountrytable (please retrieve these columns in this order). - Sort the results first by
regionfrom Z to A and then bypopulationfrom lowest to highest.
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 20
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat