← Walmart questions
CodingReported in a candidate post, Jul 2025

Third highest salary from an employee table

Filed under Walmart

Given an Employee table with columns id, name and salary, write a SQL query that returns the third highest distinct salary, or NULL when fewer than three distinct salaries exist.

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

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