SELECT `dpu_oversight`.* FROM `dpu_oversight` WHERE published=1 AND concat(";",policy_id,";") like concat("%%;",52,";%%") AND `dpu_oversight`.`big_round`= ORDER BY `date` DESC You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY `date` DESC' at line 3<\pre>