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 / keerthana
select Student_Name,Dgree from Education
group by (Student_Name,Dgree) having count(*) > 1;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is dialect in sql?
Explain the uses of database trigger.
describe transaction-safe table types in mysql : sql dba
Can we use pl sql in sql server?
Is sql sequential or random?
Explain the difference between rename and alias?
What is scalar data type in pl sql?
what is offset-fetch filter in tsql? : Transact sql
What are procedures used for?
What is varray in pl sql?
How do you sort in sql?
what is the difference between join and union? : Sql dba
What is update query?
what is the difference between a having clause and a where clause? : Sql dba
How do I install sql?