Capstone Project · 10 min read · Beginner
Capstone: Auto-Graded SQL Analytics Challenge
Combine JOIN, GROUP BY, AVG(), and ORDER BY to build a course analytics query and pass all 4 automated SQL checks.
What you'll learn
- Join enrollments with courses to report course titles and average scores
- Sort courses from highest average score to lowest
- Pass all 4 automated SQLite checks in the browser
Welcome to the SQL & Relational Databases capstone! Write a query that joins courses (c) and enrollments (e), computes the learner_count and rounded avg_score per course, and orders by avg_score DESC.
Auto-Graded SQL Capstone Challenge
Click Run & Test to verify your query against all 4 automated SQLite checks!
SQLSQL Capstone: Course Performance Report
Query Result (In-Browser SQLite)
Click Run SQL to execute this query against a live in-browser SQLite database.
Automated SQL Checks
- Returns 3 course summary rows
- Includes columns title, learner_count, and avg_score
- Ranks SQL first with avg_score of 96
- Counts 2 learners for every course
SQL Essentials Final Check
Score: 0 / 1
1. In a SQL query with SELECT, FROM, JOIN, WHERE, GROUP BY, and ORDER BY, which clause is written last?
Study Workspace
Finished this lesson?
Your progress is saved locally in your browser, no account needed.