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

5 lines
133 B
SQL

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