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 / v rajkumar
select Emp_Id from Employee group by Emp_Id having count(*)
>1
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
In what version of sql server were synonyms released?
What is a data collection table?
What is bulkcopy in sql?
What are cursors and when they are useful?
What is the dbcc command and why is it used?
What is auditing in sql server?
How to Check if table exists in sql server?
What is a trace frag?
Explain about SQLOS?
Can a table be moved to different filegroup?
What are SSL and TSL protocols?
What stored by the msdb?
Define Business Edition in SQL Azure?
Explain triggers?
Can we linked SharePoint to a SQL database?