Home /
Expert Answers /
Computer Science /
1-the-to-the-structure-and-contents-of-the-chot-construct-employee-works-on-each-the-the-structure-pa977
(Solved): 1. the to the structure and contents of the Chot Construct employee works on each the the structure ...
1. the to the structure and contents of the Chot Construct employee works on each the the structure and contents of the Cho7_ConstructCo database are shown in Note that the ASSIGNMENT table in Figure P7.1 stores the JOB_CHG_HOUR values as an attribute (ASSIGN_CHG_HR) to maintain historical accuracy of the data. The JOB_CHG_HOUR values are likely to change over time. In fact, a JOB_CHG_HOUR thange will be reflected in the ASSIGNMENT table. Naturally, the employee primary job assignment might also change, so the ASSIGN_JOB is also stored. Because those attributes are required to maintain the historical accuracy of the data, they are not redundant. Given the structure and contents of the Ch07_ConstructCo database shown in Figure P7.I, use SQL commands to answer the following problems. 1. Write the SQL code required to list the employee number, last name, first name, and middle initial of all employees whose last names start with Smith. In other words, the rows for both Smith and Smithfield should be included in the listing. Sort the results by employee number. Assume case sensitivity.