Database Interview Questions Set-1

Question 1: SQL Query to find second highest salary of Employee 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 ); SELECT […]

Read More »