Database error: Invalid SQL: SELECT DISTINCT
COUNT(*) AS INICIATIVAS
FROM
ASUNTO A,
SESION S,
PRESENTADOR PS,
LEGISLATURA L
WHERE
L.CVE_LEGISLATURA=A.CVE_LEGISLATURA_PRESENTACION AND
S.CVE_SESION=A.CVE_SESION AND
PS.CVE_ASUNTO=A.CVE_ASUNTO AND
S.PUBLICADO IN ('S','T') AND
A.CONTABILIZA='S' AND
A.CVE_LEGISLATURA_PRESENTACION='0' AND
A.CVE_TASUNTO=11 AND
PS.ROL='P' AND
PS.TIPO='L' AND
PS.LLAVE_REF IN ()
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 ')' at line 18)
Session halted. |