SQL Practice Logo

SQLPractice Online

Scenario SQL Question

Find the Second Highest Salary

Build mastery in Ranking Nth Value with this scenario-based SQL challenge and live execution support.

Problem Statement

Return the second highest DISTINCT salary as a single value, aliased second_highest_salary.

Relevant Tables

employees

SQL Concepts Used in This Scenario

Strengthen your understanding with these targeted learning topics: