Sektion 1. Kapitel 31
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
SELECTstatement to extract thenamecolumn from thecountrytable. - Use the
WHEREclause to filter the results. - Combine the region conditions using the
ORkeyword. - Do not include any extra output or print statements in your query.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 31
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat