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
How do I find information about the install locations for the various instances running on a computer?
Explain different types of lock modes in sql server 2000?
Explain mixed authentication mode of sql server?
Explain sql server authentication modes?
What is transaction server explicit transaction?
How do I create a stored procedure in dbml?
What is meant by referential integrity?
Differentiate between a having clause and a where clause.
What is difference between commit and rollback when used in transactions?
How do I find my localdb version?
Other than truncate statement, which other command can by-pass the trigger on the tables?
How do you run a trace?
Tell me what are cursors and when they are useful?
can you instantiate a com object by using t-sql? : Sql server database administration
How can a database be repaired?