Avsnitt 1. Kapitel 17
single
Challenge: Members with No Borrowings
Svep för att visa menyn
Uppgift
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 17
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal