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
What are various limitations of the views?
Can you explain what is the use of custom fields in report?
How to get a list of columns in a view using the "sp_columns" stored procedure?
How do you drop an index?
Differentiate between SQL and ORACLE joins and write their syntax.
What is a trigger and its types?
What is the difference between createstatement and preparedstatement?
What are the types of table?
wat wil hapn if we give the both read and deny read permission to user?
Can we use max in where clause?
How many types of the database links?
How to concatenate two strings in SQL Server.
What are different type of Collation Sensitivity?
What is equi join with example?
Explain user defined views?