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 |
|
gnanasekar
Starting Member
6 Posts |
Posted - 2011-08-03 : 11:33:57
|
| Select * From Employees E1 Where (N-1) = (Select Count(Distinct(E2.Salary)) From Employees E2 Where E2.Salary > E1.Salary)EXPLAIN THE QUERY AND WHAT IS THE MEANING (N-1) |
|
|
TG
Master Smack Fu Yak Hacker
6065 Posts |
|
|
|
|
|