Answer Posted / moorthy t
select n,* from(select rownum n,* from (select * from table
where group by (sal) order by (sal) desc)) where n=2;
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How to sort the query output with order by clauses in ms sql server?
What is the synonym of join?
How to get @@error and @@rowcount at the same time?
What's new in sql management studio for sql server? : sql server management studio
Difference Between ORDER BY Clause and GROUP BY Clause in SQL?
What are trace flags?
What is encryption key?
What are the limitations/drawbacks or ssrs 2008 r2?
Determine when to use stored procedure to complete sql server tasks?
What do you mean by the term 'normalization'?
how do you implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql server database administration
When would you use sql joins?
What is compound operators?
What is a synonym for manipulation?
What is subquery explain with example?