Answered step by step
Verified Expert Solution
Question
1 Approved Answer
in this mysql challenge your query should dertermine the company hierarchical structure based on the position and reportsto columns. the output should include the position
in this mysql challenge your query should dertermine the company hierarchical structure based on the position and reportsto columns. the output should include the position of the individual, their firstname and last name and the position of the person they report toexclude entries where reportsto is null the result should be ordered by the position of the person they report to and then by the individual position in ascending alphavetical order. the expected column in the outpur are position, firstname, lastname, and reportstoposition
in this mysql challenge your query should dertermine the company hierarchical structure based on the position and reportsto columns.
the output should include the position of the individual, their firstname and last name and the position of the person they report toexclude entries where reportsto is null the result should be ordered by the position of the person they report to and then by the individual position in ascending alphavetical order. the expected column in the outpur are position, firstname, lastname, and reportstoposition
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started