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 schema? : Sql dba
What is input buffer in sql*plus?
Explain about various levels of constraint.
What is linq to sql?
why does the selected column have to be in the group by clause or part of an aggregate function? : Sql dba
What is nvarchar max in sql?
List and explain the different types of join clauses supported in ansi-standard sql?
Explain polymorphism in pl/sql.
What is sql select statement?
What is the trigger in sql?
What is query execution plan in sql?
What is the difference between database trigger and stored procedure?
What is a parameter query?
How do you update a sql procedure?
What are the two parts of design view?