SQL to remove similar posts
-
Hi
I have my aggregator up and running but many duplicates or better said similar posts not real duplicates.
I ‘d like to remove them.
now i guess I should run SQL. Thing is I am having doubts:
those posts are not real duplicates as all the rows are not identical,sometimes one post is reposted by the same author at different dates, hence the date-filed is not identical.
Anyway, the only field that shows that posts are smilar is the the “post_exerpt”.
SO I’d like to remove all the rows where post_exerpt are similar which is a not an SQL way of putting things I should be tracking DISTINCT in fact. Ok then select all rows where post_expert is distcinct and then delete the others?
I’ve read the wp codex on databases and I do remember some of my SQL training 10 years ago…I would benefit some help here I gues….
- The topic ‘SQL to remove similar posts’ is closed to new replies.