Answers for "mysql query to add column with foreign key constraint"

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 query to add column with foreign key constraint"

Code answers related to "SQL"

Browse Popular Code Answers by Language