Mensaje de Error:

Fuente:marc_aut -> alert_detdoc
Referencia:(1064) ERROR DE SINTAXIS EN LA INSTRUCCION
Mensaje: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 items.bestado=1 and mb_tipo_id NOT IN (4,13) and item_fecing > da' at line 1
Instrucción :select *, editorial.ed_nombre from items left join editorial on items.ed_id=editorial.ed_id where doc_id IN () and items.bestado=1 and mb_tipo_id NOT IN (4,13) and item_fecing > date_add(now(), INTERVAL -15 DAY) and item_fecing!='0000-00-00 00:00:00' group by doc_id

<<< Regresar.