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
Can you get second highest salary from the table?
Is foreign key unique?
What is the purpose of sql profiler in sql server? : sql server database administration
What is relationship? What number of sorts of relationship are there?
What is the difference between mysql and mysqli?
What is a schema in ms sql server 2005?
Which trace flags are enabled in sql server?
What are the difference between clustered and a non-clustered index?
hi, how to link a text file and a .rpt file in my tables of sql server and to retrieve those records for further use. reply me as soon as possible.
How does index makes search faster?
What is the partitioning method?
What is difference between count (*) and count column?
What is a view and what are its advantages?
What do you mean by 'normalization'?
How to implement service broker?