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
europeis not the same asEurope, so be careful and write correctly:Europe.
Tak for dine kommentarer!
single
Challenge: Europe Region Sort
Stryg for at vise menuen
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
europeis not the same asEurope, so be careful and write correctly:Europe.
Løsning
Tak for dine kommentarer!
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat