Desafio: Ordenação da Região Europa
Here is the country
table we are working with:
Tarefa
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 100 000. 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
.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 4. Capítulo 2