Challenge: Members with No Borrowings
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 3. Kapitel 5
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
Fantastiskt!
Completion betyg förbättrat till 5.56
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 3. Kapitel 5
single