Using SQL Developer ONLY! Your assignment is to create an auditing policy that keep track of insertion and update activities of Customers table. This Customers trigger fires before update or insert or delete on customers. You have to test your trigger and provide screenshots to prove that it works correctly D1. Create a new table named Customers. The new table should have at least 5 columns including a primary key. (Cust-id, First_name, Last_name, State, Zip-code. Use cust_id as PK. D2. Insert 2 rows into the Customers table. D3. Create a history table for Customers table, (create table customers_history). The table should have same structure as Customers table Cust-id + First_name + Last_name+ State + Zip_code. Don’t forget the history_id as pk . Do NOT insert any data (values) into this table. D4. Create a trigger for auditing—create trigger audit_customers on the table D5. Insert 3 records into the Customers table. D6. Update the first record of Customers, and then delete this record. D7. Display the content of Customers table and the history table. You have to provide the trigger code, code you used to create the table and insert records. Solution /** [D1]**/ CREATE TABLE Customers1 ( Cust_id Number (8), First_name varchar2(20), Last_name varchar2(20), State varchar2 (20), Zip_code Number (9), Primary key (Cust_id) ); /***[D2]***/ Insert into Customers1 values ( 1, \'David\',\'Smith\', \'Virginia\', 300050); Insert into Customers1 values ( 2, \'Vinsel\', \'Nalla\', \'NYK\', 300051); /**[D3]**/ CREATE TABLE Customers1_history ( history_id Number (8) , Cust_id Number (8), First_name varchar2(20), Last_name varchar2(20), State varchar2 (20), Zip_code Number (9), Primary key (history_id) ); /**** [D4]********* I have used MErge concept for this. Trigger invoke for each delete , update , insert statement on Clients Table. **************************/ create or replace TRIGGER audit_Customers1 BEFORE INSERT OR UPDATE OR DELETE ON Customers1 BEGIN MERGE INTO Customers1_history d USING Customers1 s ON (d.Cl_id = s.Cl_id) WHEN MATCHED THEN UPDATE SET d.Zip_code = s.Zip_code WHEN NOT MATCHED THEN Insert (d.History_id,d.Cl_id , d.F_name , d.L_name , d.State ,d.Zip_code ) values (s.cl_id, s.Cl_id , s.F_name , s.L_name , s.State ,s.Zip_code); END audit_Customers1; /*** [D5] ******/ Insert into Customers1 values ( 3, \'Thersa\', \'john\', \'Londan\', 300152); Insert into Customers1 values ( 4, \'rahul\', \'modi\', \'delhi\', 300153); Insert into Customers1 values ( 5, \'aamir\', \'khan\', \'Iran\', 300154); /**** [D6] ******/ UPDATE Customers1 SET Zip_code = 123456 WHERE Cust_id = 1; DELETE FROM Customers1 WHERE Cust_id = 1; /******** [D7] ********/ SELECT * FROM Customers1; SELECT * FROM Customers1_history;.