You are on page 1of 1
table ond we sa statement fr eath ofthe ven a ‘able : Project 5. Consider the fllowig iS uestions: “To ipay all information about projets of Medium Proje. Tost the Proje of projects whoteProjtame ends with UTL. ‘Tolst1, name size and cos of athe projects in descending order of StartDate. To caunt the numberof projets of cost ess than 100000, Increase the projec cost by 2% forall projects Delete the row wth number 3, Display records ofall roects whose end date isater year 2008, vil Osplay aterent projec ses, |% _Disrlay atl of projet cost forall large type projects. White the output fr the follwing SAL queties: 2 SELECT sum (Cot) FROMrojects; ', SELECT DISTINCT (Projsize) FROMproject {SELECT MAK Cos) FROMpojeets; 4, SELECT AVG (Salary) FROM projects group renee 1 Dotabase-cab : Query! -LbreOrtice Base: Query Design fle Ea View Incert Tools Window He B/D) Xe wi9-c- mw x LECT * FROM Project WHERE Projsize="Nediun''; LECT * FROM Project WHERE Projname LIKE "ALITL" "Tid, name, S120, COSt FROM Project ORDER BY Startdate DESCENDING; SELECT COUNT(*) FROM Project WHERE cost<160080 UPDATE Project SET cost cost + (cost*2)/100 DELETE FROM Project WHERE TD=3 SELECT * FROM Project WHERE Endbate>20e8 SELECT DISTINCT (Projsize) FROM Project SELECT SUM(Cost) FROM Project WHERE Projsize= Large

You might also like