SQL query to find the second highest salary in an employee database.
Anonymous
Use ORDER BY DESC and LIMIT 2 OFFSET 1 Alternatively, use subqueries to find the MAX salary greater than the overall maximum salary
Check out your Company Bowl for anonymous work chats.