View Single Post
  #3 (permalink)  
Old 12-16-2006, 01:15 AM
Don D
 
Posts: n/a
Default SQL 92 answer. Re: i want to get the third highest salary from a table?

[sql]
SELECT TOP 1 *
FROM (SELECT TOP 3 *
FROM employees
ORDER BY salary) Top3
ORDER BY salary DESC
[/sql]
Edit/Delete Message Reply With Quote