Legislação > Plano Diretor >

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 agc = '18' ORDER BY arq_ano DESC' at line 1
error: SELECT distinct arq_ano FROM tb_arq_arquivos WHERE cat_codigo= AND agc = '18' ORDER BY arq_ano DESC