HOW TO FIND THE EMPLOYEE DETAILS WHO ARE GETTING SAME SALARY
IN EMP TABLE

Answer Posted / aashish mangal

select A.id,A.salary from employee A inner join employee B
on A.salary = B.salary and A.id <> b.id

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of roles provided by ssrs?

128


Does hive support indexing?

715


Explain the difference between delete,drop and truncate in SQL Server?

774


How many joins in sql server?

687


You have several tables, and they are joined together for querying. The tables contain both clustered indexes and non clustered indexes to optimize performance, how should you distribute the tables and their indexes onto different file groups?

745






Explain about link server in sql server?

738


What is a periodical index?

650


Explain the difference between HTTP and HTTPS in database?

750


1.how to find the dead lock in sql server? 2.How to fine the memory leaks in sql server? 3.suppose transaction log file increasing what action will take ?

1731


Explain sql server service broker?

704


Describe and explain about SQL native client?

789


Tell me the phases a transaction has to undergo?

716


Can we call stored procedure in trigger?

722


What program is used to store the data source file?

674


What is a mixed extent?

756