Professional Documents
Culture Documents
DBMS Lab Assignment 03
DBMS Lab Assignment 03
5. A. Check how entity integrity constraint is enforced in all the 3 tables. Show all the
conditions are enforced.
B. Check how domain integrity constraint is enforced in the Sales_Order table.
6. Change the S_Order_Date of Client_No ‘C10011’ to ‘2021-03-24’, Product_No to ‘P2100027’
and Salesman_No to ‘S000014’.
7. Change the selling price of ‘1.44 Floppy Drive’ to Rs 1150.
8. Change the city of Client_No ‘C10011’ to ‘Janpath’.
9. Add a column Bal_Due to the table Client_Master with data type number (10,2). Insert the values
according to your wish.
10. Change the field size of Client_No to 15 in all the table where the filed Client_No is present.
11. Change the Client_No for S_Order_No O510015 to C10014 in Sales Order table. Note down the
error, if any.
12. Remove the foreign key constraint referencing Product_Master table from the Sales_Order table.
13. Remove the foreign Key constraint referencing Client_Master table from the Sales_Order table.
14. Display the structure of all tables.
15. Remove the record for Client no C10015 from Client_Master table.
16. Remove those records from Product_Master table for which Sell_Price is between 1000 and
10000.
17. Remove the column Profit_Percent from Products Master table.
18. Delete all the records from Products_Master table. (Use delete)