| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Keith Spiller | Date: | October 22 2008 3:39pm |
| Subject: | MySQL Sort by Array | ||
| View as plain text | |||
Hi Guys, I'm trying to sort by a particular order: SELECT * FROM tablename WHERE id='5' OR id='9' OR id='25' OR id='34' ORDER BY id(5, 34, 9, 25) Can anyone tell me the proper syntax to accomplish this task? Thanks for your help. Keith
| Thread | ||
|---|---|---|
| • MySQL Sort by Array | Keith Spiller | 22 Oct |
| • Re: MySQL Sort by Array | Peter Brawley | 22 Oct |
| • Re: MySQL Sort by Array | Jim Lyons | 22 Oct |
| • Re: MySQL Sort by Array | Rob Wultsch | 22 Oct |
| • Re: MySQL Sort by Array | Bill Newton | 23 Oct |
| • Re: MySQL Sort by Array | Moon's Father | 24 Oct |
| • Re: MySQL Sort by Array | Uwe Kiewel | 22 Oct |
