Grokking SQL for Tech Interviews
Ask Author
Back to course home

0% completed

11. Students Who Attended All Courses (Medium)
Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

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!

Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible