Challenge: Members with No Borrowings
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 3. Chapter 5
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Awesome!
Completion rate improved to 5.56
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 3. Chapter 5
single