Problem Description

Create Enrollment(student_id, course_id, enrolled_on). One student can enroll once per course. Make (student_id, course_id) the primary key.

Input Format

SQL DDL

Output Format

DDL statement(s)

Sample Test Case

Input:
Enrollment(student_id, course_id, enrolled_on)
Output:
Table created

Constraints

None

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next