Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

n highest salary in sql

SELECT TOP 1 salary
FROM (
SELECT DISTINCT TOP N salary
FROM #Employee
ORDER BY salary DESC
) AS temp
ORDER BY salary
Source by javarevisited.blogspot.com #
 
PREVIOUS NEXT
Tagged: #highest #salary #sql
ADD COMMENT
Topic
Name
1+1 =