An Error Was Encountered
Error Number: 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 9
SELECT IDCONVENIO, cc.DESCRICAO as CLASSE, CONVENIADO, CEP, LOGRADOURO, ENDERECO, NUMERO, COMPLEMENT, BAIRRO, CIDADE, ESTADO, FONE, DESCONTO FROM ct_pl_conv c INNER JOIN ct_pl_convclasse cc ON c.CLASSE=cc.CODCLASSE WHERE IDCONVENIO=