Challenge: Genre-Specific Movie Selection
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 2
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 4.17
Challenge: Genre-Specific Movie Selection
Glissez pour afficher le menu
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 2
single