Conteúdo do Curso
Introdução ao SQL
Introdução ao SQL
Desafio: Ordenação da Região Europa
Here is the country
table we are working with:
Swipe to show code editor
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
.
Obrigado pelo seu feedback!
Desafio: Ordenação da Região Europa
Here is the country
table we are working with:
Swipe to show code editor
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
.
Obrigado pelo seu feedback!
Desafio: Ordenação da Região Europa
Here is the country
table we are working with:
Swipe to show code editor
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
.
Obrigado pelo seu feedback!
Here is the country
table we are working with:
Swipe to show code editor
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
.