| Title | Open | |||
|---|---|---|---|---|
| 42 | Honour Roll Through a CTEWrite a CTE named honour_roll that selects first_name, last_name and gpa for every student whose gpa is 3.5 or higher, then select those three columns from honour_roll. | easy | Not started | Solve |
| 43 | Cities With at Least Three StudentsCount the students in each city inside a CTE named per_city (columns city and students), then select city and students from it for the cities with three or more students. | easy | Not started | Solve |
| 44 | Months One to TwelveUse a recursive CTE named months with a single column n to generate the numbers 1 to 12 without reading any table: the anchor selects 1, and the recursive step adds 1 to the previous row while n is below 12. | easy | Not started | Solve |
| 45 | Courses Beating the College AverageIn a CTE named course_avg, compute each course's average grade (course_id and avg_grade, rounded to 2 places) over the enrollments that have a grade. | medium | Not started | Solve |
| 46 | How Full Each Course IsChain two CTEs. | medium | Not started | Solve |
| 47 | Took Both CS101 and MATH110Define one CTE named taken that lists every completed enrollment as student_id and the course code, then join taken twice to students: once for CS101 and once for MATH110. | medium | Not started | Solve |
| 48 | Winter Sign-Ups Week by WeekUse a recursive CTE named weeks to generate every Monday from 2025-12-01 to 2026-01-12 (seven dates one week apart, stepping with date(…, '+7 days')). | hard | Not started | Solve |
| 49 | Students, Staff and Pay per DepartmentBuild a one-row-per-department report from two CTEs: majors counts students per major_department_id (students with no major are not counted), and staff counts instructors per department_id and averages their salary (rounded to 2 places). | hard | Not started | Solve |