Runner-up salary — SQL

Return the second-highest salary, counting equal amounts once, or an empty result when there is only one distinct salary.

SQL · Medium

More in SQL

All algorithm problems