-->
Update price of drug by 5 % of 'ABC' Company.
sql>update drugs set price=price+price*0.05 where company='ABC';
Display names of all medical store where ‘Crocin’ is available.
sql>select mname from mstore,drugs,md where mstore.mid=mid and drugs.did=md.did and dname='crocin';
Count total number of drug of ‘SunPharma’ company in ‘Sai medical’ store.
sql>select count(drugs.dname),company from mstore,drugs,md where mstore.mid=md.mid and drugs.did=md.did group by dname,company;
Delete all drugs supplied by ‘SunPharma‘Company in ‘Sai medical’ store.
sql>delete from md where did =(select did from drugs where company='sunpharma');
display the details of medical store haveing maximum quntity of crocin.
sql>select max(md.quantity),mstore.mname,mstore.city from mstore,drugs,md where mstore.mid=md.mid and drugs.did=md.did and dname='crocin' group by mstore.mname,mstore.city;
/