Learn with Abdou

Chapter 7 · Concept 2 of 6 · Practice

Never borrowed or not returned?

LEFT JOIN and the unmatched row · level 2 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 2 of 6

Members who never borrowed

Level 2: Fill the blank · Exercise 1 of 1

The branch manager wants the members who have never taken a loan, so she can send them a welcome offer. One piece of the gap test is missing. Fill it in.

Finish line: 11 rows · columns first_name, last_name · in the order the question gives

Data: Twin Ports Tool Library.

Fill the blankOpening the database…
SELECT m.first_name, m.last_name FROM members m LEFT JOIN loans l ON l.member_id = m.id WHERE l.id ORDER BY m.last_name, m.first_name;
  1. Blank 1 of 1: the test that finds a row with no match
Open in the playground

Query results

Check to see the result here.

Check to see the result here.

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