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 (NEWS_RELACION <> 0 AND NEWS_RELACION = '') AND NOT_ID <> '4320' AND NEWS_NO' at line 1