Зміст курсу
Вступ до SQL
Вступ до SQL
Завдання: Сортувати країни за регіоном і столицею
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.
Дякуємо за ваш відгук!
Завдання: Сортувати країни за регіоном і столицею
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.
Дякуємо за ваш відгук!