1. WriteaqueryfortheHRdepartmenttoproducetheaddressesofallthedepartments.Usethe LOCATIONSandCOUNTRIEStables.ShowthelocationID,streetaddress,city,stateorprovince, andcountryintheoutput.UseaNATURALJOINtoproducetheresults.
2. TheHRdepartmentneedsareportofallemployees.Writeaquerytodisplaythelastname, departmentnumber,anddepartmentnameforallemployees.
3. TheHRdepartmentneedsareportofemployeesinToronto.Displaythelastname,job, departmentnumber,anddepartmentnameforallemployeeswhoworkinToronto.
4. Createareporttodisplayemployeeslastnameandemployeenumberalongwiththeir managerslastnameandmanagernumber.LabelthecolumnsEmployee,Emp#,Manager,and Mgr#,respectively.
5. Modifyquestion4todisplayallemployeesincludingKing,whohasnomanager.Orderthe resultsbytheemployeenumber.
6. CreateareportfortheHRdepartmentthatdisplaysemployeelastnames,department numbers,andalltheemployeeswhoworkinthesamedepartmentasagivenemployee.Give eachcolumnanappropriatelabel.
7. TheHRdepartmentneedsareportonjobgradesandsalaries.Tofamiliarizeyourselfwiththe JOB_GRADEStable,firstshowthestructureoftheJOB_GRADEStable.Thencreateaquery thatdisplaysthename,job,departmentname,salary,andgradeforallemployees.
8. TheHRdepartmentwantstodeterminethenamesofallemployeeswhowerehiredafter Davies.Createaquerytodisplaythenameandhiredateofanyemployeehiredafter employeeDavies.
9. TheHRdepartmentneedstofindthenamesandhiredatesforallemployeeswhowerehired beforetheirmanagers,alongwiththeirmanagersnamesandhiredates.