Question: Instruction is in the screenshot. This is the test script: INSERT INTO CUSTOMER ( customer _ id , first _ name, last _ name, username,

Instruction is in the screenshot.
This is the test script:
INSERT INTO CUSTOMER (customer_id, first_name, last_name, username, credit_limit) VALUES (customer_sequence.nextval,'Kelley','Engle','kmengle',1000);
INSERT INTO CUSTOMER (customer_id, first_name, last_name, username, credit_limit) VALUES (customer_sequence.nextval,'Rob','Schanke','rschanke',2000);
INSERT INTO CUSTOMER (customer_id, first_name, last_name, username, credit_limit) VALUES (customer_sequence.nextval,'Janet','Smith','jsmith',100);
INSERT INTO CUSTOMER (customer_id, first_name, last_name, username, credit_limit) VALUES (customer_sequence.nextval,'Yves','Gordon','ygordon',200);
INSERT INTO CUSTOMER (customer_id, first_name, last_name, username, credit_limit) VALUES (customer_sequence.nextval,'Bill','Clemson','bclemson',50);
INSERT INTO ITEM (item_id, item_name, list_price, date_added) VALUES (item_sequence.nextval,'PostgreSQL',99.98,to_date('1/1/2020','mm/dd/yyyy'));
INSERT INTO ITEM (item_id, item_name, list_price, date_added) VALUES (item_sequence.nextval,'Microsoft SQL Server',199.87,to_date('3/1/2020','mm/dd/yyyy'));
INSERT INTO ITEM (item_id, item_name, list_price, date_added) VALUES (item_sequence.nextval,'IBM DB2',299.65,to_date('6/1/2020','mm/dd/yyyy'));
INSERT INTO ITEM (item_id, item_name, list_price, date_added) VALUES (item_sequence.nextval,'Oracle',989.34,to_date('9/1/2020','mm/dd/yyyy'));
INSERT INTO ITEM (item_id, item_name, list_price, date_added) VALUES (item_sequence.nextval,'MySQL',0.99,to_date('10/1/2020','mm/dd/yyyy'));
INSERT INTO ADDRESS (address_id, customer_id, street, city, state, zip, phone) VALUES(address_sequence.nextval,1,'100 Alpha DRIVE','Harrisburg','PA','17110','(717)555-1212');
INSERT INTO ADDRESS(address_id, customer_id, street, city, state, zip, phone) VALUES(address_sequence.nextval,2,'100 Beta DRIVE','Harrisburg','PA','17110','(717)555-1212');
INSERT INTO ADDRESS(address_id, customer_id, street, city, state, zip, phone) VALUES(address_sequence.nextval,3,'100 Gamma DRIVE','Harrisburg','PA','17110','(717)555-1212');
INSERT INTO ADDRESS(address_id, customer_id, street, city, state, zip, phone) VALUES(address_sequence.nextval,4,'100 Delta DRIVE','Harrisburg','PA','17110','(717)555-1212');
INSERT INTO ADDRESS(address_id, customer_id, street, city, state, zip, phone) VALUES(address_sequence.nextval,5,'100 Epsilon HACC DRIVE','Harrisburg','PA','17110','(717)555-1212');
INSERT INTO ORDER_DETAIL (customer_id, order_id, order_date, order_status) VALUES (1, order_detail_sequence.nextval,SYSDATE,4);
INSERT INTO ORDER_DETAIL (customer_id, order_id, order_date, order_status) VALUES (2, order_detail_sequence.nextval,SYSDATE,3);
INSERT INTO ORDER_DETAIL (customer_id, order_id, order_date, order_status) VALUES (3, order_detail_sequence.nextval,SYSDATE,1);
INSERT INTO ORDER_DETAIL (customer_id, order_id, order_date, order_status) VALUES (4, order_detail_sequence.nextval,SYSDATE,2);
INSERT INTO ORDER_DETAIL (customer_id, order_id, order_date, order_status) VALUES (5, order_detail_sequence.nextval,SYSDATE,0);
INSERT INTO LINE_ITEM (order_id, item_id, quantity, discount) VALUES (1,1,1,0) ;
INSERT INTO LINE_ITEM (order_id, item_id, quantity, discount) VALUES (1,2,3,0) ;
INSERT INTO LINE_ITEM (order_id, item_id, quantity, discount) VALUES (2,4,1,0) ;
INSERT INTO LINE_ITEM (order_id, item_id, quantity, discount) VALUES (3,3,100,.1) ;
INSERT INTO LINE_ITEM (order_id, item_id, quantity, discount) VALUES (4,2,1,0) ;
UPDATE CUSTOMER SET credit_limit =100 WHERE CUSTOMER_ID =1;
UPDATE ORDER_DETAIL SET order_status =1 WHERE ORDER_ID =5;
DELETE FROM ORDER_DETAIL WHERE order_id =5;
select * from customer_by_state;
select * from customer_order_detail;
select * from customer_log;
select * from order_detail_log;
exec simple_store.purchase_list;
Instruction is in the screenshot. This is the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Programming Questions!