.

Lei Orgânica >

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 cat_codigo = '41' ORDER BY arq_mes ASC, arq_ano DESC' at line 1
error: SELECT * FROM tb_arq_arquivos WHERE agc = AND cat_codigo = '41' ORDER BY arq_mes ASC, arq_ano DESC
Documento Anexo