SELECT pid,name FROM divis WHERE pid= order by descr desc
1064: 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 'order by descr desc' at line 1