Challenge: Most Popular Genre
Tarefa
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 6
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Incrível!
Completion taxa melhorada para 5.56
Challenge: Most Popular Genre
Deslize para mostrar o menu
Tarefa
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 6
single