Reported in a candidate post, Aug 2019
Find second largest salary without LIMIT
Filed under ServiceNow
The question
Write an SQL query to find the second largest salary from a given table without using the LIMIT clause.
No write-up yet. Related questions below have one.
Related ServiceNow questions
Collected from public candidate posts and coding forums. Updated Nov 2026.