SELECT TOP 1 salary FROM ( SELECT DISTINCT TOP n salary FROM employee ORDER BY salary DESC) a ORDER BY salary where n > 1
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)