Question: Create a trigger that backs up the flight ID, ticket number, and seat number for any deleted ticket if the ticket corresponds to a flight

Create a trigger that backs up the flight ID, ticket number, and seat number for any deleted ticket if the ticket corresponds to a flight that has not yet departed. Note that a ticket number may not be unique after it has been deleted since deleted ticket numbers may be reused. Make sure to also provide commands that cause the trigger to backup data into a table (that you should create) called BACKUP_TICKET.

Step by Step Solution

3.42 Rating (146 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To create a trigger in SQL that backs up the flight ID ticket number and seat number for any deleted ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!