Learn with Abdou

Chapter 7 · Concept 5 of 6 · Practice

Follow a loan through its keys

three-table joins, and which branch is which · level 4 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 4 of 6

Who borrowed, what, and who checked it out

Level 4: Write it yourself · Exercise 1 of 1

For loans 1 to 5, return loan_id, member_first_name, tool_name and staff_last_name (the staff member who checked the loan out), ordered by loan id.

Finish line: 5 rows · columns loan_id, member_first_name, tool_name, staff_last_name · in the order the question gives

Data: Twin Ports Tool Library.

Opening the database…
Table & column names only · ↑ ↓ choose · Tab insert · Esc dismiss

CURRENT DATABASE

Quick schema · Twin Ports Tool Library

Press Esc or click outside to return to your query. PK = primary key · FK = declared foreign key.

This database has no tables yet. Create a table, then reopen the schema to see its columns.

Control Space also opens names. Enter adds a new line. Control or Command Enter runs your query.
Open in the playground

Query results

Run your query to see the result here.

Run your query to see the result here.

Practice here is evidence for you and your instructor, never a grade. Grades live in Canvas.