Practical Component
Practical Component
2. Create constraint on product table, such that price is greater than 0.
4. Display the Custname, Product_name ,Price and Units Purchased for all the
customers Using joins.
6. Display the bill for each customer (Total cost = Price × Units)
8. Update the price of ‘Paste’ to 60 and display the product table
UPDATE Product
SET Price = 60
WHERE Pname = ‘Paste’;
.
SELECT * FROM Product; -- To display updated table
9. Display the products from highest to lowest price