Question: Create a table contacts which includes contact_id (integer type), first_name (character data type of length 30), last_name (character data type of length 25). a) Create
Create a table "contacts" which includes contact_id (integer type), first_name (character data type of length 30), last_name (character data type of length 25).
a) Create a trigger to insert contact_id, created_by, creation_date into contacts_audit table after inserting rows into contacts table. created_by in contacts_audit table is the full name taken from first_name and last_name of table contacts.
b) Create a trigger to insert contact_id and deletion_date before any row is getting deleted from contacts table.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
