Sort and remove duplicates
- From: JimJx <webmaster@xxxxxxxxxxxxxxxx>
- Date: Fri, 28 Sep 2007 06:10:54 -0700
Hi everyone,
Got what should be an easy problem.
I have a db (MySQL) that I need to sort on the first field and remove
dups from.
For example, let's say I have Red,1,2,3,4,5 and Blue,1,2,3,4,5 and
Green,1,2,3,4,5 and Green,2,2,2,2,2
How can I come out with Blue,1,2,3,4,5;Green,1,2,3,4,5;Red,1,2,3,4,5??
I know that there is a simple way to do this but my brain is not
functioning right now.
Thanks!
Jim
.
- Follow-Ups:
- Re: Sort and remove duplicates
- From: Martijn Lievaart
- Re: Sort and remove duplicates
- From: Ben Morrow
- Re: Sort and remove duplicates
- From: Glenn Jackman
- Re: Sort and remove duplicates
- From: Greg Bacon
- Re: Sort and remove duplicates
- Prev by Date: Re: How to get some specify lines in a block of a file?
- Next by Date: Re: Sort and remove duplicates
- Previous by thread: FAQ 4.68 How can I make the Perl equivalent of a C structure/C++ class/hash or array of hashes or arrays?
- Next by thread: Re: Sort and remove duplicates
- Index(es):
Relevant Pages
|
|