← Salesforce questions
CodingReported in a candidate post, Jul 2025

SQL query for the 5th largest element of a table

Filed under Salesforce

Write a SQL query that returns the 5th largest value in a table column (for example the 5th highest salary in an Employees table). Assume 'largest' means distinct values unless the interviewer says…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Salesforce questions

Collected from public candidate posts and coding forums. Updated Nov 2026.