Question: PLEASE HELP!! THE QUERY NEEDS TO MATCH THE TABLE THAT I ADDED. Write a query to display the manager s SSN , manager s first

PLEASE HELP!! THE QUERY NEEDS TO MATCH THE TABLE THAT I ADDED.
Write a query to display the managers SSN, managers first and last name with a space between them, department number, department name, employees SSN, employees first and last name with a space between them, and the following information about the employee's dependents: name, relationship and date of birth. The department number and name are that of the employee, not the manager. Name the columns as follows: Manager SSN, Manager Name, Department, Employee SSN, Employee Name, Dependent Name, Relationship and Dependent DOB. Sort the results by department number, employee SSN in all ascending order. See sample output below. (25 pts)
IMPORTANT: You need to research how to use SUBSTRING and DATE_FORMAT functions.
No partial credit, if the format of your results is different than provided in the sample output.
 PLEASE HELP!! THE QUERY NEEDS TO MATCH THE TABLE THAT I

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!