Keep only enrolments for courses that are still running (academy)
Enrolments refer to course codes; the Courses table lists only courses still running. Keep matching enrolments with their title.
- Level
- beginner
- Time
- ~6 min
- Task
- Build the query
- Access
- Pro
Checking your access…
About this exercise
What you'll practise
Use an inner join to keep only rows that have a match.
The scenario, sample data, step list, hints and solution open with Pro. Grading checks your query against hidden data as well as the visible sample, so a query that only fits the sample doesn't pass.
Input
- Enrolments (table)
- EnrolID: text
- Student: text
- Course: text
- Courses (table)
- Course: text
- Title: text
Expected output columns
EnrolID (text), Student (text), Course (text), Title (text)