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 / lakshmi
In the above query we have to add distinct before *. Else
duplicate rows will be fetched twice.
Thanks,
Lakshmi
| Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
What are analytical functions in sql?
Can we use ddl commands in pl sql?
Explain the difference between triggers and constraints?
what is 'trigger' in sql? : Sql dba
Can %notfound return null after a fetch?
What packages(if any) has oracle provided for use by developers?
In a distributed database system, can we execute two queries simultaneously?
what are the non-standard sql commands supported by 'mysql'? : Sql dba
What are the differences between implicit and explicit cursors?
Why do we use procedures in sql?
explain primary keys and auto increment fields in mysql : sql dba
What is the use of desc in sql?
what are date and time intervals? : Sql dba
Does oracle use sql?
Is clustered index a primary key?