Blog

Database error: Invalid SQL: select TB_ANAG_POST00.POST_ID, TB_ANAG_POST00.OWNER, TB_ANAG_POST00.CDATA, TB_ANAG_POST00.LOWNER, TB_ANAG_POST00.LDATA, TB_ANAG_POST00.TIMESTAMP, TB_ANAG_POST00.XPOST01, TB_ANAG_POST00.XPOST02, TB_ANAG_POST00.XPOST08 as XPOST08_COD, CONCAT((CASE WHEN ALIAS_UT2.XUT04 is null then '' ELSE ALIAS_UT2.XUT04 end),' ',(CASE WHEN ALIAS_UT2.XUT05 is null then '' ELSE ALIAS_UT2.XUT05 end)) as XPOST08, TB_ANAG_POST00.XPOST03, TB_ANAG_POST00.XPOST13, TB_POST01.DESCR as POST01, TB_POST01.POST01_ID , TB_ANAG_POST00.XPOST04, TB_ANAG_POST00.XPOST05, TB_ANAG_POST00.XPOST07, TB_ANAG_POST00.XPOST09, TB_ANAG_POST00.XPOST12, TB_ANAG_POST00.XPOST14 from TB_ANAG_POST00, TB_ANAG_UT00 as ALIAS_UT2, TB_POST01 where 1>0 AND TB_ANAG_POST00.XPOST01 = 21 AND TB_ANAG_POST00.XPOST08 = ALIAS_UT2.UT_ID and TB_POST01.POST01_ID = TB_ANAG_POST00.POST01 AND FIND_IN_SET('sere d'estate a napoli',REPLACE(REPLACE(lower(XPOST07),' ,', ','), ', ',',') ) AND XPOST11=1 AND XPOST12 <= 20241015 ORDER BY XPOST12 desc limit 0,30
MySQL Error: 1064 (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 'a napoli',REPLACE(REPLACE(lower(XPOST07),' ,', ','), ', ',',') ) AND XPOST11=1 A' at line 1)