how to find nth highest salary
Answer Posted / sanwar hudda
n th Highest salary
select salary from test t1 where n-1=(select COUNT (*) from
test
where salary > t1.salary )
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Using the customer, and order table in northwind database, please write a query to produce xml?
Is natural join and equi join same?
What stored by the msdb? : sql server database administration
What protocol does sql server use?
What is the difference between set and select?
What is log in sql server?
Can group by be used without aggregate functions?
Define Wed Edition in SQL Azure?
Explain about SQL server 2005?
What is a field in a table?
What is RMS migrations?
How do I save a stored procedure in sql server?
What is replication and database mirroring?
What is log shipping? Can we do logshipping with SQL Server 7.0 - Logshipping is a new feature of SQL Server 2000. We should have two SQL Server - Enterprise Editions. From Enterprise Manager we can configure the logshipping. In logshipping the transactional log file from one server is automatically updated into the backup database on the other server. If one server fails, the other server will have the same db and we can use this as the DR (disaster recovery) plan.
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