Answers for "add a foreign key to an existing tables mysql"

SQL
6

alter table add foreign key mysql

ALTER TABLE orders
ADD 
FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE;
Posted by: Guest on May-29-2020

Code answers related to "add a foreign key to an existing tables mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language