Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Database name: Ch07_ConstructCo Write a T-SQL query for the constructco tables t

ID: 3693121 • Letter: D

Question

Database name: Ch07_ConstructCo

Write a T-SQL query for the constructco tables to list the employee last name, first name, job code and hire date from the employee table.

Write a T-SQL query for the constructco tables to list the employee last name, first name, hire date where the hire date is greater than 2000-01-01.

Write a T-SQL query for the constructco tables to list the employee last name, project number, assigned job from the employee and assignment tables where the employee table employee number is equal to the assignment table employee number.

Explanation / Answer

i) SELECT last_name,first_name,job_code,hire_date FROM constructco

ii) SELECT last_name,first_name,job_code,hire_date FROM constructco WHERE hire_date > '2000-01-01'