Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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. 6. Extract the username (ken) from LoginID (adventure-workskeno) for all employees businessentityid 1 1 username ken terri 2 2 3 3 roberto 4 4 5 6 covo rob gail josset dylan diane 7 8 9 9 gig michael 10 10
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started