HOW TO FIND THE EMPLOYEE DETAILS WHO ARE GETTING SAME SALARY
IN EMP TABLE
Answer Posted / dilip
SELECT * FROM EMP WHERE (SAL = (SELECT sal
FROM emp GROUP BY sal HAVING COUNT(sal) > 1))
| Is This Answer Correct ? | 28 Yes | 24 No |
Post New Answer View All Answers
What is the stored procedure?
Explain the difference between clustered and non-clustered index?
How can we rewrite sub-queries into simple select statements or with joins?
You are doing log shipping due to some reasons it is failing. How you will proceed from there
Why and when do stored procedure recompile?
Explain time data type in sal server 2008?
Write a query for primary key constraint with identity key word?
Explain the xml support sql server extends?
How to delete a login name in ms sql server?
Difference between Inner vs outer joins?
How does the report manager work in SSRS?
Can I run multiple instances of sql server 2000 at the same time on one computer?
Ways to improve the performance of a SQL Azure Database?
Can we insert data if clustered index is disabled?
What are a database and a data warehouse?