Second Highest Without Aggregates | Dataford Interview Questions
Asked 2w ago|
Coalition Greenwich
Second Highest Without Aggregates
MediumSubqueriesRankingSelf-Joins
Problem
Write a SQL query to find the second highest salary in a department, but you are absolutely not allowed to use any aggregate functions like MAX or COUNT.
Problem
Write a SQL query to find the second highest salary in a department, but you are absolutely not allowed to use any aggregate functions like MAX or COUNT.
Your answer
Try one AI text evaluation on us
Get structured feedback, scored against a 4-axis rubric. Premium unlocks unlimited.