I'm looking for a quick and easy way to reverse the ORDER BY in a SQL query. I have a column that has various numeric values and I would like to sort them from greatest to least. I've looked around the net and havn't found any good examples of this.
Thanks in advance! 🙂
try something like this
$query=mysql_query("SELECT id from table order by date DESC") or die(mysql_error());
the DESC is descending. If you typed ASC it would mean assending but that is the default
I appreciate the help more than i can express 🙂