Challenge: Most Popular Genre
Tâche
Swipe to start coding
Write a query to find the genre with the highest number of borrowings in the library. Use subqueries to aggregate borrowings by genre and then select the genre(s) with the maximum borrow count.
- Aggregate the number of borrowings for each genre.
- Identify the maximum borrow count among all genres.
- Return the genre(s) and their borrow count where the borrow count matches the maximum value.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 6
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é à 5.56
Challenge: Most Popular Genre
Glissez pour afficher le menu
Tâche
Swipe to start coding
Write a query to find the genre with the highest number of borrowings in the library. Use subqueries to aggregate borrowings by genre and then select the genre(s) with the maximum borrow count.
- Aggregate the number of borrowings for each genre.
- Identify the maximum borrow count among all genres.
- Return the genre(s) and their borrow count where the borrow count matches the maximum value.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 6
single