Challenge: Genre-Specific Movie Selection
Uppgift
Swipe to start coding
Write a query to select all columns from the movies table, but only include rows that meet the following genre-specific criteria:
- If the genre is 'Action', the rating must be greater than or equal to 7.
- If the genre is 'Comedy', the rating must be greater than or equal to 6.
- For all other genres, the rating must be greater than or equal to 8.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 2
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
Fantastiskt!
Completion betyg förbättrat till 4.17
Challenge: Genre-Specific Movie Selection
Svep för att visa menyn
Uppgift
Swipe to start coding
Write a query to select all columns from the movies table, but only include rows that meet the following genre-specific criteria:
- If the genre is 'Action', the rating must be greater than or equal to 7.
- If the genre is 'Comedy', the rating must be greater than or equal to 6.
- For all other genres, the rating must be greater than or equal to 8.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 2
single