Follow a loan through its keys
three-table joins, and which branch is which · level 3 of 6
Opening your saved work…
Sign in to save across devices → · Download your guest work before switching accounts.
Follow a loan through its keys · three-table joins, and which branch is which · level 3 of 6
Members and tools at the same branch
There are 40 members, 45 tools and 120 loans. Someone pairs members with tools on branch_id to list what each member borrowed. Before you run it, how many rows come back?
SELECT COUNT(*) AS rows_returned
FROM members m
JOIN tools t ON t.branch_id = m.branch_id;Data: Twin Ports Tool Library.
Opens once your prediction is right, or after the worked answer.
Query results
The real result appears here after you run it.The real result appears here after you run it.
Practice here is evidence for you and your instructor, never a grade. Grades live in Canvas.