sweetgum83/tools/SQL/test_duplicates.sql

2 lines
184 B
MySQL
Raw Permalink Normal View History

2024-01-19 08:56:28 +00:00
SELECT dropperid,itemid FROM drop_data d WHERE EXISTS
(SELECT * FROM drop_data e WHERE (d.id != e.id AND d.itemid=e.itemid AND d.dropperid=e.dropperid)) group by itemid,dropperid;