Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Most Active Members | Subqueries in Library Management
Subqueries in SQL

bookChallenge: Most Active Members

Opgave

Swipe to start coding

Identify the top 2 members who have borrowed the most books from the library using a subquery.

  • Use a subquery to count the number of borrowings for each member.
  • Rank members by their borrow count in descending order.
  • Select the top 2 members based on this ranking.

Løsning

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 3
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

close

bookChallenge: Most Active Members

Stryg for at vise menuen

Opgave

Swipe to start coding

Identify the top 2 members who have borrowed the most books from the library using a subquery.

  • Use a subquery to count the number of borrowings for each member.
  • Rank members by their borrow count in descending order.
  • Select the top 2 members based on this ranking.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 3. Kapitel 3
single

single

some-alt