1. select SNO,STATUS from SUPPLIER where CITY='Paris';
----------------------------------------------------------------------------------- ------------------- 2. select PNO from SUPP_PART; ----------------------------------------------------------------------------------- -------------------- 3. select distinct(PNO) from SUPP_PART; ----------------------------------------------------------------------------------- --------------------- 4. select * from SUPPLIER; ----------------------------------------------------------------------------------- ---------------------- 5. select PNO,WEIGHT,WEIGHT*454 WeightInGrams from PART; ----------------------------------------------------------------------------------- ---------------------- 6. select SNO from SUPPLIER where CITY='Paris' and STATUS>20; ----------------------------------------------------------------------------------- ----------------------- 7. select SNO,STATUS from SUPPLIER where CITY='Paris' order by STATUS desc; ----------------------------------------------------------------------------------- ----------------------- 8. select SNO from SUPPLIER where STATUS=null; ----------------------------------------------------------------------------------- ----------------------- 13. select count(SNO) from SUPPLIER; ----------------------------------------------------------------------------------- ------------------------ 14. select count(PNO) from SUPP_PART where PNO='p2'; ----------------------------------------------------------------------------------- -------------------------- 15. select sum(QTY) from SUPP_PART where PNO='p2'; ----------------------------------------------------------------------------------- ------------------------- 16. select distinct(sum(QTY)) from SUPP_PART group by distinct(PNO);