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 figurefrom the Adventure Works2008 database. These tables can be found on the

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. 7. List all employees' NationalIDNumber, Job Title, and HireDate for those who have ever worked in Department 7 (Use a sub-query instead of Join) 1 2 3 4 5 6 7 8 9 10 NationallDNumber 519899904 446466105 14417807 948320468 410742000 750246141 330211482 801758002 754372876 999440576 JobTitle HireDate Vice President of Production 2003-03-07 Production Supervisor - WC60 2002-03-30 Production Technician - WC60 2000-07-31 Production Technician - WC60 2003-02-24 Production Technician - WC60 2003-03-02 Production Technician - WC60 2003-02-05 Production Technician-WC60 2003-01-30 Production Technician-WC60 2003-01-18 Production Technician - WC60 2003-03-20 Production Technician - WC60 2003-03-12

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!