LabVantage Interview Question

write a query for second max salary