#MySQL #tutorial #course
00:00:00 intro
00:02:24 SET NULL
00:04:40 CASCADE
00:07:11 conclusion
ALTER TABLE transactions
ADD CONSTRAINT fk_customer_id
FOREIGN KEY (customer_id) REFERENCES customers(customer_id)
ON DELETE SET NULL;
ALTER TABLE transactions
ADD CONSTRAINT fk_customer_id
FOREIGN KEY (customer_id) REFERENCES customers(customer_id)
ON DELETE CASCADE;
Watch video MySQL: ON DELETE online, duration hours minute second in high quality that is uploaded to the channel Bro Code 21 November 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 21,994 times and liked it 489 visitors.