| Subject: | how do we find nth highest in SQL | |
| Date: | 2004-12-11 08:16:41 | |
| From: | RuchirAwadhawal | |
|
Response to: how do we find nth highest in SQL
|
||
|
Query for Nth Max (Highest) select sal from emp t where &n = (select count(sal) from (select distinct sal from emp) where t.sal<=sal);
|
||
Showing messages 1 through 2 of 2.



hi i am kashif can anyone tell me what is the concept of 1 in this query?