Answers for "mysql add foreign key in existing table"

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 "mysql add foreign key in existing table"

Code answers related to "SQL"

Browse Popular Code Answers by Language