string(807) " from (((`tablcliquidacoes` `l` join `tablcempenhos` `e` on (((`l`.`NumEmpenho` = `e`.`NumEmpenho`) and (`l`.`Exercicio` = `e`.`Exercicio`) and (`l`.`CdOrgao` = `e`.`CdOrgao`) and (`l`.`CdUnidade` = `e`.`CdUnidade`)))) join `taborcorgao` `o` on (((`e`.`CdOrgao` = convert(`o`.`codigo_orgao` using utf8)) and (`l`.`Exercicio` = convert(`o`.`exercicio` using utf8))))) join `taborccategoriaeconomica` `r` on ((`e`.`CdElemento` = convert(`r`.`codigo_elemento_despesa` using utf8)))) where (`e`.`TipoCredito` = 'O') AND l.Exercicio = 2024 GROUP BY e.IdLCEmpenhos"