Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedimage text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo

1st Edition

0763733148, 978-0763733148

More Books

Students also viewed these Databases questions

Question

As in the previous problem, but for the hyperon.

Answered: 1 week ago

Question

LO1 Understand human resource management and define human capital.

Answered: 1 week ago