|
-
August 11th, 1999, 07:20 AM
#1
SQL stateent to find 5th Highest salary
Please send me the SQL Statement to find the Employee row who is getting the 5th highest salary?
muralirajan
-
August 11th, 1999, 07:26 AM
#2
Re: SQL stateent to find 5th Highest salary
if you database supports the "SELECT TOP n"-Syntax (e.g. SQLServer 7) you can try "SELECT TOP 5 * FROM ... ".
Since the return value can be more then 1 employee, you'd have to read all values.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|