Avsnitt 1. Kapitel 31
single
Challenge: America Regions Filter
Svep för att visa menyn
Uppgift
Svep för att börja koda
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 31
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal