Professional Documents
Culture Documents
CS Practicals With Answer-D508b01c-3967
CS Practicals With Answer-D508b01c-3967
CS Practicals With Answer-D508b01c-3967
Update PRODUCT
SET Price= Price+10;
4.SELECT DISTINCT City FROM Client;
City
Delhi
Mumbai
Bangalore
5. SELECT Manufacturer, MAX(Price), Min(Price), Count (*) FROM Product GROUP BY Manufacturer;
City
Delhi
Mumbai
Bangalore
5.SELECT ItemName, MAX(Price), Count(*) FROM Item GROUP BY ItemName;
City
Mumbai
New Delhi
Kolkata
5.SELECT CneeID, CneeName FROM Consignee WHERE CnorID = ‘MU15’ OR CnorID = ‘ND01’;
CneeID CneeName
MU05 ND01
KO19 MU15
1.Display FL_NO and NO_FLIGHTS from “KANPUR” TO “BANGALORE” from the table FLIGHTS
(vi) Display NAME of all doctors who are in “MEDICINE” having more than 10 years experience from the Table
DOCTOR.
(viii) Display the highest consultation fee among all male doctors
count (*)
4
(x) SELECT NAME, DEPT, BASIC from DOCTOR, SALRY Where DEPT = “ENT” AND DOCTOR.ID = SALARY.ID;
UPDATE PRODUCT
SET PRICE=PRICE+PRICE*0.1;
(i) Select COUNT (distinct company) from PRODUCT;
MAX(PRICE)
39000