Learn with Abdou

Chapter 7 · Concept 1 of 6 · Practice

Join on a relationship, not a coincidence

INNER JOIN ON a key · level 3 of 6

Opening your saved work…

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

Join on a relationship, not a coincidence · INNER JOIN ON a key · level 3 of 6

The join with no ON

Level 3: Predict the result · Exercise 1 of 1

There are 45 tools and 6 branches. Someone wrote the join and forgot the ON clause. Before you run it, how many rows come back?

SELECT COUNT(*) AS rows_returned
FROM tools t
JOIN branches b;
The query. Predict before you run it.

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.