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 / sirisha
select id,count(id) from Education group by id having count(id)>1
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain locks? : Transact sql
Can we rollback after truncate?
How can the performance of a trigger be improved?
Is nosql relational?
Can you join a table to itself?
How much does sqlite cost?
Why do we go for stored procedures?
Explain what is rdbms?
What is database migration?
Is sql sequential or random?
How do I run a sql query?
Which nosql database is best?
How global cursor can be declare with dynamic trigger ?
What is rownum?
what is 'mysqladmin' in mysql? : Sql dba