Answers for "how to find 2nd max salary in sql"

SQL
1

second max salary in sql

SELECT MAX(SALARY) 'SECOND_MAX' FROM EMPLOYEES
WHERE SALARY <> (SELECT MAX(SALARY) FROM EMPLOYEES);
Posted by: Guest on November-27-2020
0

2nd max salary query in sql

select *from employee 
group by salary 
order by  salary desc limit 1,1;
Posted by: Guest on September-06-2021

Code answers related to "how to find 2nd max salary in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language