5 lines
133 B
MySQL
5 lines
133 B
MySQL
|
ALTER TABLE Enrollments
|
||
|
ADD FOREIGN KEY(studentID)
|
||
|
REFERENCES Students(studentID)
|
||
|
ON DELETE NO ACTION
|
||
|
ON UPDATE CASCADE;
|