Visa
Foundations Track · Easy · 15 min
Second-highest Salary
At Visa, analysts are preparing a portfolio scan focused on second-highest salary. Return the second-highest salary amount in the table as second_highest_sal...
Company labels are directional practice context, not official interview guidance.
Objective
Practice query basics through a Visa-tagged business scenario.
Approach
Use this track to lock in clean query structure, basic filtering logic, and confidence with grouped output.
Company context
Company labels are directional practice context, not official interview guidance.
At Visa, analysts are preparing a portfolio scan focused on second-highest salary. Return the second-highest salary amount in the table as second_highest_salary.
employee_salary
| employee_id | salary |
|---|---|
| 1 | 120000 |
| 2 | 95000 |
| 3 | 120000 |
| 4 | 88000 |
| 5 | 76000 |
SQL workspace
Run queries against the protected question data, then submit once the result shape looks right.
Sign in to run SQL
Create a free account or sign in before running queries against protected question data.