SQL interview Question | Second Highest Salary – Method 1

Write a SQL query to get second highest query using sub query