← TCS questions
CodingReported in a candidate post, Jan 2026

Find employees with NULL salary and Nth highest salary

Filed under TCS

Given an Employees table, write SQL queries to: 1) Identify employees where salary is NULL, 2) Find the 2nd and 3rd highest salaries using OFFSET and without it, and 3) Generalize a query to find the…

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

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