Database PR 9 and 10
Database PR 9 and 10
PRACTICAL 9
“Miscellaneous” Queries
1) Find the average rate for each Order.
3) List the customer name having loan account in the same branch city they live in.
4) Provide the loan details of all the customers who have opened their accounts after August’95.
6) List all the information for the orders placed in the month of June.
8) Determine the maximum and minimum product price. Rename the output as “Max_Price” and
“Min_Price”.
9) Count the number of products having price less than or equal to 500.
10) List the order number and the day on which client placed an order.
11) List the month and the date on which an order is to be delivered.
13) Find the total of all the billed orders in the month of June.
14) List the products and orders from customers who have ordered less than 5 units of “Pull Overs”.
15) Find the list of products and orders placed by “Ivan Bayrosss” and “Mamta Muzumdar”.
16) List the clients who placed order before June 04.
PRACTICAL 10
“PL/SQL Block
1) Write a PL/SQL Block to Add 2 Numbers.