Login
Remember
Register
Ask a Question
Write an Oracle SQL query to find employees who earn more than their managers.
0
votes
asked
Jan 21, 2024
in
Oracle
by
rajeshsharma
Write an Oracle SQL query to find employees who earn more than their managers.
oraclesqlquery
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 21, 2024
by
rajeshsharma
SELECT emp.*
FROM Employee emp
INNER JOIN Employee mgr ON emp.manager_id = mgr.employee_id
WHERE emp.salary > mgr.salary;
...