Grokking SQL for Tech Interviews
Ask Author
Back to course home

0% completed

Vote For New Content
11. Students Who Attended All Courses (Medium)
On this page

Problem Statement

Table: Enrollment

This table records the enrollments of students in various courses. Each record includes a student ID and a course ID.

+--------------+---------+
| Column Name  | Type    |
+--------------+---------+
| student_id   | int     |
| course_id    | int     |
+--------------+---------+
This table may contain duplicate rows.
student_id is not NULL.
course_id is a foreign key to the Course table.

Table: Course

This table lists all the courses available.

+--------------+---------+
| Column Name  | Type    |

.....

.....

.....

Like the course? Get enrolled and start learning!

On this page