Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Continental Count | Aggregate Functions
Introduction to SQL

Challenge: Continental CountChallenge: Continental Count

Task

Write an SQL query to retrieve the number of countries from the Europe and Asia continents (where continent = Europe or continent = Asia).

Here's a short example of the country table:

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

Everything was clear?

Section 5. Chapter 4
toggle bottom row
course content

Course Content

Introduction to SQL

Challenge: Continental CountChallenge: Continental Count

Task

Write an SQL query to retrieve the number of countries from the Europe and Asia continents (where continent = Europe or continent = Asia).

Here's a short example of the country table:

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

Everything was clear?

Section 5. Chapter 4
toggle bottom row
some-alt