Drive-thru das agroindústrias vende R$ 400 mil e atrai 2,1 mil veículos

Vídeos JC Ver mais
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 'LIMIT 3' at line 13 - SELECT matia.*, site.*, notia.*, IFNULL(matia.dt_matia_publi_html, IFNULL(matia.dt_matia_publi, IFNULL(matia.dt_matia_edcao_publi,matia.dt_matia_incl))) AS dt_matia_publi, IFNULL(matia.ds_matia_link, matia.ds_matia_path) AS ds_matia_link FROM matia JOIN notia ON notia.cd_matia = matia.cd_matia JOIN site ON matia.cd_site = site.cd_site WHERE matia.cd_matia_statu IN (1,2) AND site.cd_site = 289 AND matia.ds_matia_assun LIKE '%Expointer%' AND ((matia.id_matia_impre_trava = 1 OR matia.id_matia_impre_trava IS NULL) OR (matia.id_matia_impre_trava = 2 AND matia.dt_matia_edcao_publi IS NOT NULL AND matia.dt_matia_edcao_publi < NOW())) AND (matia.dt_matia_publi IS NULL OR matia.dt_matia_publi < NOW()) ORDER BY dt_matia_publi DESC LIMIT 3 LIMIT 3OpenRecordSet called at [\Inetpub\wwwroot\portal\src\scripts\]
getMatias called at [\Inetpub\wwwroot\portal\src\scripts\]
createMap called at [\Inetpub\wwwroot\portal\src\scripts\]