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)
g) Write an SQL query to obtain the details of all Workers who are also Managers. (2 Marks)
h) Write an SQL query to print details of the Workers whose LAST_NAME begins with A. (1 Mark)
i) Write an SQL query to print details of the Workers who joined XYZ company in June 2014. (1 Mark)
j) Write an SQL query to combine the FIRST_NAME and LAST_NAME of workers in a single column
called COMPLETE_NAME and their salaries in another column. (1 Mark)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!