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
How to check table values in sql server?
tell me the disaster recovery plan
Why is replication required on the sql server?
Explain how dts is used to extract, transform and consolidate data?
How many types of database relationship in sql server?
How to perform key word search in tables?
What is Federation and Federation Member?
What are the differences between stored procedure and view in sql server?
What is dbcc command in sql server?
Hi, I Created 3 Tables Person(PersID[prkey],Name,Email,Password), Project(ProjName,ProjID[prkey],ProjLeader,ProjManager) & ProjectInvolvement(EntryDate,ProjID[frkey],PersID[frkey],ProjDuration). For this how can i INSERT,UPDATE & DELETE Through PROCEDURE? Please Post the Answer for me. Desai.
What factors you will consider calculating the storage requirement for that view?
what is a traditional network library for sql servers? : Sql server database administration
What are click through reports?
How much does sql server 2016 cost?
Why should you use or avoid select * statements?