Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Most Popular Genre | Subqueries in Library Management
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Subqueries in SQL

bookChallenge: Most Popular Genre

Завдання

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.

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 3. Розділ 6
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

Suggested prompts:

Can you explain this in simpler terms?

What are the main points I should remember?

Can you give me an example?

close

bookChallenge: Most Popular Genre

Свайпніть щоб показати меню

Завдання

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.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 3. Розділ 6
single

single

some-alt