Write a query to find the Nth highest salary from the table without using limit keyword in MySQL?
SELECT name, salary FROM Employee AS emp1 WHERE N-1 = (SELECT COUNT(DISTINCT salary) FROM Employee emp2 WHERE emp2.salary > emp1.salary);
BY Best Interview Question ON 20 Sep 2022