Skip to content

Leetcode: SQL Interview Prep Guide

Praveen Kumar Anwla edited this page Dec 27, 2023 · 17 revisions

Ans:

# Write your MySQL query statement below

SELECT EMP.name AS Employee FROM Employee EMP,Employee MGR
WHERE EMP.managerId=MGR.id AND EMP.salary>MGR.salary

Q2.

Clone this wiki locally