Question: Question 3. The attached text file XYX_LTD is an executable SQL script containing workers informations at XYZ company ltd. Execute the script on my SQL
Question 3. The attached text file XYX_LTD is an executable SQL script containing workers informations at XYZ company ltd. Execute the script on my SQL workbench and use it to answer the following questions: (20 Marks)
a) Write an SQL command to replace any of the workers in the database with yourself. Use your student ID and names to replace the work ID and names. Both the SQL code and the execution output are required. Provide the execution output in picture format in your answer sheet. (4 Marks)
b) Write an SQL query to obtain the names of workers who earn the highest salary. (1 Marks)
c) Write an SQL query to print FIRST_NAME from Worker table in upper case and the
LAST_NAME in lower case. (1 Marks)
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
