
PostgreSQL 풀이 | Second Highest Salary (LEAD, OFFSET, MAX)
·
SQL
문제 1. Second Highest SalaryImagine you're an HR analyst at a tech company tasked with analyzing employee salaries. Your manager is keen on understanding the pay distribution and asks you to determine the second highest salary among all employees.It's possible that multiple employees may share the same second highest salary. In case of duplicate, display the salary only once.https://datalemur.co..