DBMS Lab Exercise 3
DBMS Lab Exercise 3
What is Function:
SQL has many built-in functions for performing calculations on data.
SQL aggregate functions return a single value, calculated from values in a column.
(8) Write a query to set corresponding fields as Null in the sales_order table, if we delete the
record from sales master table.
(9) Delete the detail of supplier whose salesman number is ‘S105’
(10) Update the table such as way the if we Delete the records of ‘S103’ from salesmaster table
then details of ‘S103’ should get deleted from all the tables
(11) Count the number of orders which are in-process.
(12) Display the number of orders fulfilled between in the month of January 2023.
(13) Display the order numbers who have ordered more than 10 quantities.
(14) Display the name of salesman who do not based in ’Vadodara’.
(15) Delete the records of whoes order has been cancelled in the year ‘2020’