Ocorreu um erro

Erro de SQL [1064] em 22-02-2018 - 04:41:03

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 'AND (po.current_state<>4 AND po.current_state<>5 AND po.current_state<>6) ORDER ' at line 1