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 happens when a trigger is associated to a view?
What jobs use sql?
what are the non-standard sql commands supported by 'mysql'? : Sql dba
Define tables and fields in a database
What is the difference between the repeatable read and serializable isolation levels? : Transact sql
What is the most restrictive isolation level? : Transact sql
What is a schema sql?
How to avoid using cursors?
What is error ora-01000: maximum open cursors exceeded
How many types of tables are there?
What is multiple columns?
How do I run a sql script?
Can I learn sql in a week?
Are sql database names case sensitive?
Write a unique difference between a function and a stored procedure.