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 the difference between a procedure and a function?
How to read/write files from pl/sql?
What are pl/sql cursors?
Which command is used to delete a trigger?
Explain polymorphism in pl/sql.
What is sql exception?
what is rdbms? : Sql dba
What do you think about pl/sql?
What are different types of tables in sql?
What is sql query optimization?
Define SQL and state the differences between SQL and other conventional programming Languages?
How can you maintain the integrity of your database on instances where deleting an element in a table result in the deletion of the element(s) within another table?
does sql support programming? : Sql dba
why does the selected column have to be in the group by clause or part of an aggregate function? : Sql dba
What is query execution plan in sql?