The disappearing branch dashboard
COUNT(key) versus COUNT(*), and a condition in ON versus WHERE · level 5 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 5 of 6
The disappearing branch dashboard
The garden-tools chart shows five branches. There are six.
This query should show all six branches with their garden_tools count, including zero. It runs and returns five rows. Fix it so it returns branch_id, branch and garden_tools for every branch, ordered by branch id. Then say where the condition went wrong and what COUNT(*) was counting.
Finish line: 6 rows · columns branch_id, branch, garden_tools · in the order the question gives
Data: Twin Ports Tool Library.
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.