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

Explain the concept of view and Types of views in SQL server?

774


What the class forname () does?

709


What are the lambda triggers?

656


What is the security model used in sql server 2005?

694


What are types of scd? : sql server analysis services, ssas

727






How to declare and use cursor variables?

763


What are the advantages of using third-party tools?

720


which table keeps the locking information? : Sql server administration

706


What are the types of dml?

735


What is a non-clustered index?

718


What are the 10 characteristics of data quality?

679


How dts is used to extract, transform and consolidate data?

789


What do you understand by a view? What does the with check option clause for a view do?

780


What is the difference between resultset and resultsetmetadata?

704


How does the report manager work in SSRS?

131