Challenge: Members with No Borrowings
Opgave
Swipe to start coding
You need to write a query to find all members who have never borrowed a book. Use a subquery to identify members whose member_id does not appear in the borrowings table.
- Select the
nameof each member. - Use a subquery to find all
member_idvalues present in theborrowingstable. - Return only those members whose
member_idis not present in the subquery result.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 5
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Fantastisk!
Completion rate forbedret til 5.56
Challenge: Members with No Borrowings
Stryg for at vise menuen
Opgave
Swipe to start coding
You need to write a query to find all members who have never borrowed a book. Use a subquery to identify members whose member_id does not appear in the borrowings table.
- Select the
nameof each member. - Use a subquery to find all
member_idvalues present in theborrowingstable. - Return only those members whose
member_idis not present in the subquery result.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 5
single