CS1103/Labs/Lab6/4.sql
2022-10-07 00:48:09 -03:00

5 lines
130 B
SQL

ALTER TABLE Enrollments
ADD FOREIGN KEY(courseID)
REFERENCES Courses(courseID)
ON DELETE NO ACTION
ON UPDATE CASCADE;