how to find nth highest salary
Answer Posted / ramakrishna
select e1.* from emp e1 where n=(select
count(distinct(e2.sal)) from emp e2 where e1.sal<=e2.sal);
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Does partitioning improve performance?
What are the different types of replication you can set up in sql server?
To which devices can a backup be created and where should these devices be located? : sql server management studio
What is the use of tempdb? What values does it hold?
Explain what is log shipping?
plss anybody specify tha constrian management system in dbms
Explain about system database?
How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000?
How to move database physical files in ms sql server?
What is b tree index?
Does a server store data?
Recommend an approach to ensuring that all changes in the remote databases synchronize with the SQL Azure database?
What is repeatable read?
How to sort the query output with order by clauses in ms sql server?
What is side by side migration in sql server?