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. 4. Show the employee's NationalIDNumber, Job Title, and the exact age when he/she was hired 1 2 3 4 5 nationalidnumber 295847284 245797967 509647174 112457891 695256908 998320692 134969118 811994146 658797903 879342154 jobtitle age Chief Executive Officer 39 Vice President of Engineering 36 Engineering Manager 32 Senior Tool Designer 32 Design Engineer 55 Design Engineer 48 Research and Development Manager 21 Research and Development Engineer 22 Research and Development Engineer 29 Research and Development Manager 24 6 7 8 9 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

Students also viewed these Databases questions