Question

Employees(emp_id, name, salary, mgr_id): (1,'Alice',9000,NUL

  • L , (2,'Bob',7000,1), (3,'Carol',9500,1), (4,'Dave',6000,2). What does the following self-join query return? SELECT E.name FROM Employees E JOIN Employees M ON E.mgr_id = M.emp_id WHERE E.salary > M.salary;
A Bob only
B Carol and Dave
C Carol only
D All employees except Alice
E No rows are returned
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)