DBMS_Assignment_8
DBMS_Assignment_8
NAME : KARANRAJ
HT NO : 2203A51241
BATCH :07
Task 1:
Consider the following relations for an order processingdatabase
CUSTOMER (cust_num: int,cname: string. gender:string)
2. List the order Number for orders that were shipped from any warehouses that the company has in a
specific city.
3. Delete an item from the ITEM table with order number = 12
4. Update the price of all the items by15%.
5. Display customer name, Items ordered by him along with Item-number, order- number
6. Display the names of the customers who have a shipment on 12/06/2021
7. List the order number of the shipments that are happening from warehouse no-12
8. List the names of the customers who ordered more than qty 10 of a particular item
9. Delete all the orders on 12/06/2021
Task-2:
Consider the following database for a banking enterprise
DEPOSITOR(customer-name:string, accno:int)
BARROWER(customer-name:string, loan-number:int)
Create the above tables WITHOUT specifying the primary keys and foreign keys and enter at least five
tuples for each relation
1. Find all the customers who have at least two accounts at the main branch
2 .Find all the customers who have an account at all the branches located in a specific city
3 Display all the accounts in a specific branch along with Customer details.