write the query for find the top 2 highest salary in sql
server
Answer Posted / vijayalaxmi m khot
select max(sal) from emp where sal=(select max(sal) from emp
where sal<(select max(sal) from emp));
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What authentication modes does sql server support?
Explain the difference between function and stored procedure?
Is sql server difficult to learn?
What is merge?
Define magic tables in sql server?
What is database white box testing?
How to find table changes in sql server?
Explain having clause and where clause?
What is a fan-out query in SQL Azure?
What is report subscription?
what are cursors? : Sql server database administration
How many types of attribute relationships are there? : sql server analysis services, ssas
What is the command used to check locks in microsoft sql server?
How to Update from select query in sql server?
List all types of constraints in sql server?