How to find 6th highest salary from Employee table ?
Answer Posted / lince
select * from(select salary,dense_rank() over(order by salary desc) as rno from emp)T where T.rno=6
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are four major operators that can be used to combine conditions on a where clause?
What are the types of lock supported by ?
What happens if the update subquery returns multiple rows in ms sql server?
1. Tell me your daily activities 2. If sql server installation fails at time installation what will do 3. Where does the sql server installation log details are stored 4. After the installation what will you do for memory configuration 5. What is the difference between SQL max maximum memory and AWE memory 6. How will you configure AWE memory 7. How will setup an email alert for the backup job 8. After the SQL installation what are the jobs will you configure 9. What does –g mean in the sql startup parameter 10. What is the difference between Bulked log and Full recovery model 11. What is the difference between mirroring and log shipping 12. What are the steps to be followed before in-place up gradation 13. After installing the patch the sql server does not start and application team tells to rollback the changes .In this scenario what will you do
What is xdr?
How to find the source of a table in sql server?
List down some advantages of sql stored procedure?
How to create user defined functions with parameters?
what is the difference between Delete and Truncate command in SQL
What is partitioned view?
What is scan table/view and seek table/view when its occurs? : sql server database administration
Explain different types of lock modes in sql server 2000?
Explain table valued parameters in sql server? Why tvp used?
How would you go about developing a ssrs report?
What is TDS(Tabular Data Stream) Gateway?