Hello. I am just trying to select info from a database and have it group by descending but I keep getting an error can someone please help me.
My select query is:
$oc = mysql_query("SELECT * FROM planset WHERE typz = '$typz' ORDER BY DESC oid") or die (mysql_error());
The Error I get:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESC oid' at line 1
Is this possible?