Easy
SQL query to find the maximum and second maximum salary
Filed under Infosys
The question
Write an SQL query to retrieve the highest and second-highest salary from an employee table.
No write-up yet. Related questions below have one.
Related Infosys questions
Collected from public candidate posts and coding forums. Updated Nov 2026.