How to retrieve Duplicate Rows only in a Table?
Suppose if a Table Name is "Education". It consists of
multiple columns. Then if we insert rows into this table
with duplicate records then how can we retrieve only
duplicate records from that table?
Answer Posted / dawood
SELECT COUNT(EMPNO),ENAME FROM EDUCTION
GROUP BY ENAME;
| Is This Answer Correct ? | 5 Yes | 10 No |
Post New Answer View All Answers
Does group by remove duplicates?
What do you mean by table in sql?
What is the unique index?
What do you mean by stored procedures?
Explian rowid, rownum? What are the psoducolumns we have?
Why do we use cursors?
How many types of functions are there in sql?
What is query execution plan in sql?
What is sql*loader?
How do I install microsoft sql?
Does oracle roll back the transaction on an error?
how to use regular expression in pattern match conditions? : Sql dba
explain the difference between delete , truncate and drop commands? : Sql dba
What is dba in sql? : SQL DBA
What is difference between ms sql and mysql?