AnalystPath

Tutors Idle Through 2023

SQLEasyJunior level~15 min

Problem

An online tutoring marketplace stores tutors, students, and the sessions taught.

`Student`:
- `student_id` (int), `student_name` (varchar)

`Session`:
- `session_id` (int), `held_on` (date), `fee` (int), `student_id` (int), `tutor_id` (int)

`Tutor`:
- `tutor_id` (int), `tutor_name` (varchar)

Find the tutors who taught **no session at all during 2023**. Return their names ordered alphabetically.

Tables

Example rows — the live problem includes the full dataset.

Student
student_idstudent_name
101Hana
102Omar
103Tess
Session
session_idheld_onfeestudent_idtutor_id
12023-03-011501011
22023-05-252401022
32022-05-25801013
Tutor
tutor_idtutor_name
1Devon
2Esme
3Faris

Expected output

Your answer should return 1 row with the columns tutor_name.

Starter code (SQL)

SELECT *
FROM Student;

Solve this SQL question free

Write SQL and run it instantly in your browser — even on your phone. No signup needed to try.

Solution & explanation

Create a free account to unlock the optimal solution, a step-by-step explanation, and the hidden test cases that grade your answer.

Sign up free to unlock

Related SQL questions