I have table news
with this fields:
idNews
idArea
title
text
date
What I want to do is delete all duplicate rows with same title
and text
except one (the one with the earliest date) i already try some query without success.
I tried these queries, but they didn't work:
DELETE FROM news WHERE idNews NOT IN (SELECT MIN(date) FROM news GROUP BY title,text, date);
DELETE idNews FROM news WHERE date< date AND title= title and text=text;