what is syntex second or third highest salary.


thanks & Regards
Dhirendra sinha

Answer Posted / sagar dhande

select top 2(salary) from (select top 3 (salary) from
dbo.employee order by salary desc)
order by salary

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is attribute hierarchy? : sql server analysis services, ssas

515


Explain the rules for designing files and file groups in sql server?

548


Tell me about joins in database system and explain each in detail.

593


How do I delete a sql server database?

543


What is trigger explain with program?

530






What happens if you delete a table that is used by a view?

559


What are the disadvantages of using querystrings to send data from one page to another?

584


How many columns can exist together per table?

703


Can you tell me about the concept of ER diagrams?

594


how you can move data or databases between servers and databases in sql server? : Sql server administration

481


Do you know what guidelines should be followed to help minimize deadlocks?

534


What is the difference between osql and query analyzer?

541


What is sql server database?

498


What is the difference between ROW_NUMBER and Ranking function in SQL SERVER?

603


What do you understand by mirroring and mention the advantages of the mirroring?

577