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 / kalaiselvan.j
select count(*),column_name from table_name group by
column_name having count(*)>1
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What is native sql query?
how can we repair a mysql table? : Sql dba
Why do we need cursors in pl sql?
What is program debugging?
What is the difference between numeric and autonumber?
What is information schema in sql?
What is the use of sql trace?
what is the different between now() and current_date()? : Sql dba
What is pivot in sql?
what is log shipping? : Sql dba
What is hibernate and its relation to sql?
Why do we use subquery?
What is character functions?
What is an intersect?
how to decrement dates by 1 in mysql? : Sql dba