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

Answer Posted / antony

select distinct A.id,A.salary from employee A,employee B
where A.salary = B.salary and A.id <> b.id;

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning of lock escalation and why/how to stop this? : sql server database administration

609


What does the update command do?

617


Can select statements be used on views in ms sql server?

582


How to test a dml trigger in ms sql server?

583


List out the differences between global and local temp tables in sql server?

578






why would you call update statistics? : Sql server database administration

577


What is proper subset of candidate key?

562


How to find table changes in sql server?

663


Define left outer join in sql server joins?

566


What is the purpose of object explorer and its features? : sql server management studio

605


What are a scheduled jobs or what is a scheduled tasks?

496


Can you move the resources after pausing the node? : sql server database administration

596


What are the types of normalization?

556


Do you know what is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting is possible?

574


What do you understand by triggers and mention the different types of it?

488