I have a table named ‘entity‘ in DB which consists of
id,
entityname,
created time,
modified time.
I want to retrieve only records which have duplicate entries like if there are two entities with name Arthur then i want only that two records.
I couldn’t construct the query as comparing entityname with entity name is returning me all the records.
1 Answer