ERROR: 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 zn.ZVERSION = '8e' and zn.ZPLATES = zp.Z_PK order by zn.ZDATE DESC' at line 1ERROR: 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 ZVERSION = '8e'' at line 1