write the query for find the top 2 highest salary in sql
server
Answer Posted / karan
select empname,sal from empdpt e where 1=(select count(*) from
empdpt where e.sal<sal)
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Tell me something about security and sql azure?
How to add additional conditions in SQL?
How to create percentile function?
How to verify a login name with sqlcmd tool?
How does the report manager work in SSRS?
How to create a simple user defined function in ms sql server?
How many categories of data types used by sql server?
explain different levels of normalization? : Sql server database administration
How to make conditional sum in ssrs?
Define union, union all, minus, intersect?
How column data types are determined in a view?
What is query optimizer in sql server?
Describe triggers features and limitations?
Why functions are used in sql server?
Comment,Datatypes are unlimited