TASK #145 · MediumComposite index with sorting
Your brief
Create index idx_lesson_date_classroom_desc on the Lessons table, including the lesson_date (ascending) and classroom (descending) columns.
Ctrl / ⌘ + ↵
Result
Write a query and run it to see the results.
Schema
Lessonsid, subject, teacher_name, lesson_date, classroomTimepairid, start_time, end_time