write the query for find the top 2 highest salary in sql
server
Answer Posted / sivashankar.soma
select ename,sal from emp E where 1=(select count(*) from
emp where E.sal<sal)
| Is This Answer Correct ? | 16 Yes | 29 No |
Post New Answer View All Answers
What are the difference between data mart and data warehouse? : sql server analysis services, ssas
You want to implement the many-to-many relationship while designing tables. How would you do it?
What is database mirroring?
what are different types of backups available in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration
Define indexes?
Explain primary key and foreign key constraints?
What is factless fact table? : sql server analysis services, ssas
What is Dependency Injection and provide example?
Explain relational data?
what type of index will get created after executing the above statement? : Sql server database administration
Can we install sql server 2016 on windows 7?
How to scale out a federation by Sql statement?
What is the difference between indexing and hashing?
Explain can SSRS reports Cache results?
What is the purpose of indexing?