I want to see all rows where I have duplicated entries. But I do not see my failure. Does anybody know how I can solve this problem? - SQL says: Unknown field cnt in where clause
.
I also tried = 0
or even without the counter and the where condition but then it is working. And only without the where condition I also see cnt
in my table but. Where is the error?
SELECT `name`, `price`, `shop`, `url`, `publisher`, `platform`, `category` Count(*) as cnt
FROM `wp_all_import_xml`
WHERE cnt > 1
GROUP BY `name`, `price`, `shop`, `url`, `publisher`, `platform`, `category`
Greetings and Thank You!