Write a query to find the manager of the employee.
AnswerBot
3mo
Use a self join to find the manager of the employee.
Join the employee table with itself on the manager_id and employee_id columns
Select the manager's details based on the employee's manager_id
Help your peers!
Add answer anonymously...
Top Decimal Technologies SQL Developer interview questions & answers
Popular interview questions of SQL Developer
Top HR questions asked in Decimal Technologies SQL Developer
>
Decimal Technologies SQL Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app