Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2004-06-09 : 07:14:52
|
| Pradeep writes "Give me the query for displaying the second Greates salary from a salaries coloumn in a table in SQL SERVER 2000 running Windows 2000 server." |
|
|
Page47
Master Smack Fu Yak Hacker
2878 Posts |
Posted - 2004-06-09 : 07:49:11
|
| select top 1 salaryfrom (select top 2 salary from table order by salary desc)order by salary asc... that's one way ... there are othersJay White{0} |
 |
|
|
|
|
|