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 are the maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql
What are properties of the transaction?
What is sql and also describe types of sql statements?
What is cold data?
How do I trace sql profiler?
Explain the working of primary key?
What is rownum?
How to avoid duplicate records in a query?
What is implicit cursor in pl sql?
Why cross join is used?
What is the use of count (*) in sql?
What are different types of sql commands?
What is sql in oracle?
What is triggering circuit?
Is it possible to sort a column using a column alias?