Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In MySQL Workbench in the Sakila database complete the questions and show that they work. 1. Create a trigger name before_film_delete, which will be called
In MySQL Workbench in the Sakila database complete the questions and show that they work.
1. Create a trigger name before_film_delete, which will be called before any delete on film table for each row. The trigger will insert into film_archives table where:
~ filmnumber will be old film_id
~ customernumber will be old title
2. Write SQL statement to delete film_id =10, in film table.
3. Retrieve all records in table before_film_delete.To retrieve all records in the film_archives table.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started