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 are all types of user defined functions?
What is java sql drivermanager?
what are all the different normalizations? : Sql dba
What is the purpose of the primary key?
how to extract a unit value from a date and time? : Sql dba
What is offset and limit in sql?
What is duration in sql profiler trace?
What are stuff and replace function?
What are the two different parts of the pl/sql packages?
What are analytical functions in sql?
What is cursor explain with example?
Is sql low level language?
what are different types of collation sensitivity? : Sql dba
Can we join two tables without common column?
Can we group by two columns in sql?