Answers for "how to add foreign key to a table in mysql"

SQL
4

add constraint fk

ALTER TABLE Orders
ADD CONSTRAINT FK_PersonOrder
FOREIGN KEY (PersonID) REFERENCES Persons(PersonID);
Posted by: Guest on September-02-2020

Code answers related to "how to add foreign key to a table in mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language