So this is going to tell you which unique id's have duplicates (and how many duplicates they have, as that'll be the number of times they're spat out), but not much more than that.
A table with one set of three duplicates and one pair is going to return each of the first three id's twice, and each of the pair twice, for a total of ten records output, which then need much cleaning up.
Nah, don't like it.
--
Tommy
Too stupid to live.
Too stubborn to die.
In reply to Re: Re: Removing duplicates in MySQL
by tommyw
in thread Removing duplicates in MySQL
by shaolin_gungfu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |