string(647) " FROM (((`tablcempenhos` `e` join `tablcpagamentos` `p` on (((`e`.`NumEmpenho` = `p`.`NumEmpenho`) and (`e`.`Exercicio` = `p`.`Exercicio`)))) join `taborcorgao` `o` on (((`e`.`CdOrgao` = convert(`o`.`codigo_orgao` using utf8)) and (`e`.`Exercicio` = convert(`o`.`exercicio` using utf8))))) join `taborccategoriaeconomica` `r` on ((`e`.`CdElemento` = convert(`r`.`codigo_elemento_despesa` using utf8)))) WHERE 1=1 AND p.Exercicio = 2024 GROUP BY p.Idlcpagamentos"