I have a table with the following columns:
ID
Link
price
There are some duplicates in column Link, how can I get a list of duplicates.
My query:
SELECT *
FROM tbl
WHERE Link
IN
(SELECT Link
FROM tbl
GROUP BY Link
HAVING CONT(*) > 1;
It returns all the fields with duplicates, but I need to list them, so I can see all of them (fields with duplicates).