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
What are three advantages to using sql?
What is the difference between the repeatable read and serializable isolation levels? : Transact sql
Difference between table function and pipelined function?
Enlist the data types that can be used in pl/sql?
What is sql partition?
Which are the different case manipulation functions in sql?
define sql insert statement ? : Sql dba
What is pl sql and why it is used for?
Which tcp/ip port does sql server run?
Is it possible to create startup or shutdown trigger for on-schema?
Is primary key a clustered index?
What is sap sql?
What is gpt format?
What is sql and how does it work?
What is a left inner join?