HOW TO FIND THE EMPLOYEE DETAILS WHO ARE GETTING SAME SALARY
IN EMP TABLE
Answer Posted / vidyalakshmi.s
select * from emp1 where salary in (select salary from emp1
group by salary having count(salary) >1)
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is a derived table?
How to write a query with a full outer join in ms sql server?
Do you know what is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure?
What does this statement do @@rowcount?
Can group functions be used in the order by clause in ms sql server?
Explain relational data?
Explain different types of lock modes in sql server 2000?
Explain data warehousing in sql server?
How can you list all the columns in a database?
What are the different authentication modes in sql server? How can it be changed?
Data is not being delivered to subscribers, what can be the possible reasons? : sql server replication
What will be query used to get the list of triggers in a database?
How to filter records of table in SQL SERVER?
Why is sql server log file full?
Explain the properties of the relational tables?