Consider the following tables:
Write SQL queries for the following:
(i) To delete those records from table SALES whose UnitsSold is less than 80.
(ii) To display names of all products whose category is not known.
(iii) To display the product names along with their corresponding units sold.
DELETE FROM SALES WHERE UnitsSold<80;
SELECT PName FROM PRODUCTS WHERE Category IS NULL;
SELECT PRODUCTS.PName, SALES.UnitsSold FROM PRODUCTS, SALES WHERE PRODUCTS.PID = SALES.PID;
With respect to SQL, match the function given in column-II with categories given in column-I :