Loading...
Engaged employer
2 ways to write an sql query for second highest salary
Anonymous
select max(salary) from tablename where salary NOT IN (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.