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. 8. Find a list of employees whose highest pay rate is above the average pay rate of all employees 1 2 3 5 6 7 8 9 10 businessentityid | 1 2 3 4 5 6 7 8 9 10 Max Rate 125.50 63.4615 43.2692 29.8462 32.6923 32.6923 50.4808 40.8654 40.8654 42.4808 8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
