← Oracle questions

Nth highest salary

Filed under Oracle · Also reported at BNY Mellon, CEDCOSS, CouponDunia, Ivanti, Lululemon

Write an SQL query to find the N-th highest salary from an Employee table schema with columns (id INT, salary INT). Return NULL if there are fewer than N distinct salaries.

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 Oracle questions

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