uids? What if there are 3 equal uids?
Still i need to know if there is a column which uniquely identies the rows such as a date column which shows the inserted date
DELETE FROM azolar WHERE (uid) NOT IN ( SELECT t.uid FROM ( SELECT MAX(uid) as uid FROM azolar GROUP BY uid HAVING COUNT(*) > 1 ) t );
this is not working
Обсуждают сегодня