Question: This exercise is based on the tables shown in the figure from the Adventure Works2008 database. These tables can be found on the SQL server


This exercise is based on the tables shown in the figure from the Adventure Works2008 database. These tables can be found on the SQL server via remote desktop. Department (Huma 9 DepartmentID Name GroupName ModifiedDate EmployeeDepartment History (Hu 9 BusinessEnttyID DepartmentID ShiftID StartDate EndDate ModifiedDate 8 EmployeePay History o Employee (HumanResources) BusinessEntityID Business EntityID RateChangeDate NationalIDNumber Rate LoginID PayFrequency OrganizationNode ModifiedDate OrganizationLevel Job Title BirthDate Marital Status Gender HireDate Please write the SQL statements to answer the following questions. 4. Show all employees and the department to which they currently belong. 3 4 businessentityid 11 2 2 3 3 4 4 5 5 6 6 7 8 8 9 9 10 10 name Executive Engineering Engineering Tool Design Engineering Engineering Research and Development Research and Development Research and Development Research and Development 00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
