i need department wise top 2 employees salary.which logic
i will use
Answer Posted / arun
Select top(2)* from table order by salary desc
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
What is clause in sql?
What is meant by cursor in sql?
What is a record in a database?
What is the usage of when clause in trigger?
How bulk collect improves performance?
Do stored procedures prevent sql injection?
What is the use of index in sql?
What are local and global Indexes and where they are useful.
How many commands are in sql?
What is scalar function in sql?
tell us something about heap tables. : Sql dba
what is the difference between nested subquery and correlated subquery?
What is a full join?
Does asenumerable execute the query?
how can we repair a mysql table? : Sql dba