5 lines
130 B
SQL
5 lines
130 B
SQL
ALTER TABLE Enrollments
|
|
ADD FOREIGN KEY(courseID)
|
|
REFERENCES Courses(courseID)
|
|
ON DELETE NO ACTION
|
|
ON UPDATE CASCADE; |