sql
sql
1. Add 5 records
2. Write queries to do the following:
2.1 To display ProductName, Manufacturer,
ExpiryDate for all products that expired on or
before ‘2010-12-31’
2.2 To display all records with Manufacturer
starting with ‘L’.
2.3 To display all records in descending order
of price.
2.4 To display number of unique ProductName
existing in the table.
2.5 To display average of price, minimum
price, maximum price and count ProductName
wise
2.6 Increase price of products by 10%.
2. Create a table Client with following structure: C_ID
integer (Primary Key), ClientName varchar(15),City
varchar(10),P_ID char(4). Write queries to do the
following: