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 it’s similarity with sql server?

153


What is read committed?

762


What is the difference between grant and with grant while giving permissions to the user?

728


Do you know concepts and capabilities of sql server?

741


What is SQL Azure Firewall?

128






What are the 3 types of schema?

780


How to query multiple tables jointly?

709


Explain how to maintain a fill factor in existing indexes?

722


What do you understand by mirroring?

746


New concepts of sql server 2005 use in your project.

2094


Define views.

756


where the connection string store in the database

1729


How can you know if the row fetched from cursor is still valid in underlying table?

761


What are the differences between lost updates and uncommitted dependencies?

749


What is table value parameters (tvp)?

765