CJCoding With Joseph
15free / daySign inCreate account
TitleOpen
58
A View of Active StudentsCreate a view called active_students that lists only the students whose status is 'active'.
easyNot startedSolve
59
Drop a ViewThe first statement in the editor creates a view called on_leave_students, a one-off report that is no longer wanted.
easyNot startedSolve
60
Index the Student Last NamesThe student search looks people up by surname, so speed it up: create an index called idx_students_last_name on the single column last_name of the students table.
easyNot startedSolve
61
Drop a Mistaken Unique IndexThe first statement in the editor creates a unique index called idx_courses_room on courses(room).
easyNot startedSolve
62
Winter Roster as a ViewCreate a view called winter_roster with one row per enrollment in a course that runs in 'Winter 2026'.
mediumNot startedSolve
63
Unique Instructor NamesNo two instructors may share the same full name.
mediumNot startedSolve
64
Honour Roll From a ViewCreate a view called student_averages with one row per student who has at least one completed enrollment: columns student_id, completed (how many completed enrollments) and avg_grade (the average grade over those, rounded to 1 decimal).
hardNot startedSolve
65
Seats Left Per CourseTwo statements, then the SELECT already at the bottom.
hardNot startedSolve