Home » Interview » Technology

Write SQL Query to find second highest salary of Employee.

Correct Answer: There are many ways to find second highest salary of Employee in SQL, you can either use SQL Join or Subquery to solve this problem Here is SQL query using Subquery : SELECT MAX(Salary) from Employee WHERE Salary NOT IN (select MAX(Salary) FROM Employee );

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion