Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: America Regions Filter | Section
SQL Essentials for Business Intelligence
Sektion 1. Kapitel 31
single

single

Challenge: America Regions Filter

Stryg for at vise menuen

Opgave

Swipe to start coding

Write an SQL query to retrieve the name of the countries that are from either 'Central America' or 'North America'.

Note

Pay attention to the fact that the names of the regions begin with a capital letter and not a lowercase one, which is very important.

  • Use the SELECT statement to extract the name column from the country table.
  • Use the WHERE clause to filter the results.
  • Combine the region conditions using the OR keyword.
  • Do not include any extra output or print statements in your query.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 31
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

some-alt