The disappearing branch dashboard
COUNT(key) versus COUNT(*), and a condition in ON versus WHERE · level 6 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 6 of 6
Every runner from Two Harbors
Same idea as The disappearing branch dashboard, new data.
Grandma's Marathon: every runner from Two Harbors with the number of results on file, including anyone with none. Return first_name, last_name and races_run, most first, then last name A to Z. Decide first: JOIN or LEFT JOIN, and COUNT(*) or COUNT(s.id).
Finish line: 11 rows · columns first_name, last_name, races_run · in the order the question gives
Data: Grandma’s Marathon.
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.