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


Please Help Members By Posting Answers For Below Questions

What is data set in report?

112


Explain contrast amongst grouped and non-bunched records?

716


Can we join two tables without primary key?

806


What is the recursive stored procedure in sql server?

716


Explain the different types of backups available in sql server? : sql server database administration

684


What is the parse query button used for?

791


How you provide security to cube? : sql server analysis services, ssas

732


What is filtered index?

821


last function used in MS Access to convert sql what function will use in sql

1825


Explain the database you used in your final year project?

715


What new data source types were added in ssrs 2014?

130


explain how to create a new schema in a database? : Sql server database administration

784


What is cte (common table expression)?

772


you want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition? : Sql server administration

744


Can coalesce return null?

730