Question: 1. Write a pl/sql block that selects all the rows from A2order table and prints them to screen. Write a pl/sql block that deletes the

 1. Write a pl/sql block that selects all the rows from

1. Write a pl/sql block that selects all the rows from A2order table and prints them to screen. Write a pl/sql block that deletes the orders from A2order table that were ordered after the order that has the highest order_price (Order_date will tell you when a row was entered). YOU MUST USE BULK OPERATIONS FOR THIS CODE 3. Write a pl/sql block that will select orders from A2order table based on the following condition The price of the order is higher than the order that was immediately made before this order and lower than the order that was immediately made after the order. Then Insert the selected row to A2Myorder Table Below is the creation scripts for the tables CREATE TABLE A2order (Order_ID VARCHAR2(12) PRIMARY KEY, Order_Date DATE, Order_Price NUMBER(5,2), Order_category VARCHAR2(12)); CREATE TABLE A2myorder (OrderID NUMBER PRIMARY KEY, Order_Date DATE, Order_Price NUMBER(5,2))

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 Databases Questions!