SectionΒ 1. ChapterΒ 17
single
Challenge: Members with No Borrowings
Swipe to show menu
Task
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.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 17
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat