HOW TO FIND THE EMPLOYEE DETAILS WHO ARE GETTING SAME SALARY
IN EMP TABLE
Answer Posted / sunil
SELECT * FROM EMP WHERE (SAL IN (SELECT sal
FROM emp GROUP BY sal HAVING COUNT(sal) > 1))
| Is This Answer Correct ? | 72 Yes | 16 No |
Post New Answer View All Answers
Give me a SQL Query to find out the second largest company?
How to delete exactly duplicate records from a table?
How can you set the threshold at which sql server will generate keysets asynchronously?
What is a view in sql?
How to define and use table alias names in ms sql server?
What is the difference between indexing and hashing?
How to use “drop” keyword in sql server and give an example?
What is the latest version of microsoft sql server?
What is a trigger in sql server?
Tell me when is the update_statistics command used?
How do I find the default sql server instance?
Can we use custom code in ssrs?
How many triggers are possible per table?
What is inner join in sql server joins?
What is ems sql management studio? : sql server management studio