Nth Highest Salary (Parameter N)

Programming Interview Hard 5 views
Back to Questions

Problem Description

Table: Employees(emp_id, salary). Write a query pattern to get the Nth highest distinct salary (assume N is given).

Input Format

SQL tables are described in the question.

Output Format

Write the SQL query.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next