MySQL: SELECT * FROM razdel WHERE id= ORDER BY pdate DESC LIMIT 1
MySQL: 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 pdate DESC LIMIT 1' at line 1
MySQL: SELECT * FROM razdel WHERE groupstatus= ORDER BY pdate DESC
MySQL: 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 pdate DESC' at line 1

/ г.

MySQL: SELECT * FROM one_files WHERE one= ORDER BY pdate DESC
MySQL: 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 pdate DESC' at line 1
MySQL: SELECT * FROM one_photo WHERE one= ORDER BY pdate DESC, id ASC
MySQL: 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 pdate DESC, id ASC' at line 1