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 / aditi yadav
SELECT *FROM Employee
WHERE JoiningDate >= DATEADD(M, -2, GETDATE())
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is AUTH_ID and AUTH_USER in pl/sql ?
What is the primary key?
Do triggers have restrictions on the usage of large datatypes, such as long and long raw?
What is cursor in pl sql?
tell us something about heap tables. : Sql dba
What is schema in sql?
what is the command used to fetch first 5 characters of the string? : Sql dba
Can we group by two columns in sql?
What is the purpose of a sql?
Explain dml and ddl?
What are the different sql commands?
how to create a test table in your mysql server? : Sql dba
What do you mean by rowid?
What are the commands used in sql?
How to run pl/sql statements in sql*plus?