Contenido del Curso
Introducción a SQL
Introducción a SQL
Desafío: Ordenar Región de 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
.
¡Gracias por tus comentarios!
Desafío: Ordenar Región de 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
.
¡Gracias por tus comentarios!