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 / a.balakrishna
select * from education where rowid in (select min(rowid)
from ex group by sno having count(*)>1);
100% it is true
Best of luck
9177509010
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Does oracle roll back the transaction on an error?
What are the most important ddl statements in sql?
Why do we need a foreign key?
Define a temp table?
What does count (*) do in sql?
What are the different types of tables in sql?
What is a nested table in word?
What is clustered index sql?
What is scope and visibility in PL/SQL?
How to add new employee details in an employee_details table with the following details
what are the advantages of using stored procedures? : Sql dba
Can we connect to postgresql using sql developer?
What is procedure in pl sql?
Can I learn sql in a week?
What are the advantages of normalization?