Learn with Abdou

Chapter 7 · Concept 2 of 6 · Practice

Never borrowed or not returned?

LEFT JOIN and the unmatched row · level 5 of 6

Opening your saved work…

Sign in to save across devices → · Download your guest work before switching accounts.

Never borrowed or not returned? · LEFT JOIN and the unmatched row · level 5 of 6

The tool list that counts the ones still out

Level 5: Repair it · Exercise 1 of 1

The shelf audit says 20 tools were never borrowed. The manager knows it is fewer.

This query runs and returns 20 tools as 'never borrowed'. It lies. Fix it so it returns only the tools that have never had a loan, one column, name, in alphabetical order. Then say what the original was measuring.

Finish line: 10 rows · column 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.