Conteúdo do Curso
Introdução ao SQL
Introdução ao SQL
Desafio: Ordenar os Países por Região e Capital
Here is the country
table we are working with:
Swipe to show code editor
Write an SQL query to retrieve three columns from the country
table using the SELECT
statement, namely: name
, region
, and capital
(please retrieve these columns in this order). Sort the result by two of them - first by region
in descending order, then by capital
, also in descending order.
Obrigado pelo seu feedback!
Desafio: Ordenar os Países por Região e Capital
Here is the country
table we are working with:
Swipe to show code editor
Write an SQL query to retrieve three columns from the country
table using the SELECT
statement, namely: name
, region
, and capital
(please retrieve these columns in this order). Sort the result by two of them - first by region
in descending order, then by capital
, also in descending order.
Obrigado pelo seu feedback!