Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Population Threshold Query | Filtering Data
course content

Зміст курсу

Introduction to SQL

Challenge: Population Threshold QueryChallenge: Population Threshold Query

Завдання

Write an SQL query to retrieve the name, population, region, and capital columns from the country table (please retrieve these columns in this order), returning only the countries with a population greater than or equal to 300000.

Here's a short example of the country table:

idnamecontinentregionsurfaceareacapitalpopulation
1JapanAsiaEastern Asia377829Tokyo126714000
2LatviaEuropeNULL64589Riga2424200
3MexicoNorth AmericaCentral America1958201Mexico City98881000
.....................
15MaltaEuropeSouthern Europe316Valletta380200

Все було зрозуміло?

Секція 3. Розділ 4
toggle bottom row
course content

Зміст курсу

Introduction to SQL

Challenge: Population Threshold QueryChallenge: Population Threshold Query

Завдання

Write an SQL query to retrieve the name, population, region, and capital columns from the country table (please retrieve these columns in this order), returning only the countries with a population greater than or equal to 300000.

Here's a short example of the country table:

idnamecontinentregionsurfaceareacapitalpopulation
1JapanAsiaEastern Asia377829Tokyo126714000
2LatviaEuropeNULL64589Riga2424200
3MexicoNorth AmericaCentral America1958201Mexico City98881000
.....................
15MaltaEuropeSouthern Europe316Valletta380200

Все було зрозуміло?

Секція 3. Розділ 4
toggle bottom row
some-alt