i want only duplicates rows from coloumn
ex. emp_id(colomn name)1,1,2,3,3,4,5,5.
so i want only duplicates no.
Answer Posted / kumar.t
Select Emp_Id, Count(Emp_Id) From Employee As Emp
Group By Emp_Id
Having Count(Emp_Id)>1
By
Kumar
| Is This Answer Correct ? | 17 Yes | 2 No |
Post New Answer View All Answers
What is a livelock?
Is sql different from sql server?
Can you explain powershell included in sql server 2008?
What is resource governor in sql server?
What are the advantages dts has over bcp?
Why do we use trigger?
Is ssrs support other database except ms sql server?
What is indexed view?
What are the High-Availability solutions in SQL Server and differentiate them briefly?
What are drilldown reports?
Do you know what is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting is possible?
How to change the name of a database user?
How do you make a trace?
You have a table ‘test’ which is a copy of northwind employee table you have written a trigger to update the field ‘hiredate’ with the current date
List some case manipulation functions in sql?