Multiple Column PK
sql
1CREATE TABLE enrollments (
2 student_id INTEGER,
3 course_id INTEGER,
4 PRIMARY KEY (student_id, course_id)
5);Combination must be unique.

1CREATE TABLE enrollments (
2 student_id INTEGER,
3 course_id INTEGER,
4 PRIMARY KEY (student_id, course_id)
5);Combination must be unique.