Loading...
Engaged employer
Write a query to find second highest salary.
Anonymous
select max(salary) from tablename where salary<(select max(salary) from tablename);
select max(salary) from tablename where salary < (select max(salary) from tablename);
select max(salary) from tablename where salary (is less than)(<) (select max(salary) from tablename);
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.