Learn with Abdou

Chapter 7 · Concept 3 of 6 · Practice

The disappearing branch dashboard

COUNT(key) versus COUNT(*), and a condition in ON versus WHERE · level 3 of 6

Opening your saved work…

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

The disappearing branch dashboard · COUNT(key) versus COUNT(*), and a condition in ON versus WHERE · level 3 of 6

How many rows after the LEFT JOIN?

Level 3: Predict the result · Exercise 1 of 1

There are 6 branches and 14 staff members, and one branch has no staff at all. Before you run it, how many rows does branches LEFT JOIN staff return?

SELECT COUNT(*) AS rows_returned
FROM branches b
LEFT JOIN staff s ON s.branch_id = b.id;
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.