Solution: Build a Mini Dashboard
Explore how to build a mini dashboard by combining data from multiple tables using SQL joins. Learn to filter high scores, count occurrences per student, group results, and sort to identify top performers.
We'll cover the following...
We'll cover the following...
...
SELECT s.name, COUNT(*) AS high_score_countFROM students sJOIN grades g ON s.id = g.student_idWHERE g.score > 90GROUP BY s.nameHAVING COUNT(*) > 0ORDER BY high_score_count DESC;
...