write query for fourth maximum salary from employee table

Answer Posted / arun kumar

select top 1 e.emp_code,e.emp_name,ed.basic_salary from
employee_master e, employee_salary_detail ed where
e.emp_id=ed.emp_id order by basic_salary desc

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You are doing log shipping due to some reasons it is failing. How you will proceed from there

1545


Why we need to use secondry database file? though, we can do same work using primary database file also.

5763


What is query processing?

540


What is the difference between coalesce() & isnull()?

530


What is use of dbcc commands?

622






Is it possible to update the views? If yes, how, if not, why?

541


What is the difference between web edition and business edition?

89


What is awe?

564


Beginning with sql server version 7 0, a new enhanced data type nchar was added what type of data is supported with this data type?

512


how to create “alternate row colour”?

109


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

2056


Explain the stored procedure?

633


How much space does sql server 2016 take?

567


What security features are available for stored procedure?

589


To automatically record the time on which the data was modified in a table, which data type should you choose for the column?

531