Monthly Archives: December 2011

To avoid another heaving PHP/other language sorting process on results from complex SQL queries I wanted to reorder my way, I’ve discovered an interesting property in SQL to order according special values using SQL FIELD (documentation on MySQL FIELD here, and scroll). Example : -- Let's I have a table of articles […]

SQL order by personal order