string(382) " FROM TabArquivos A inner join TabTipoArq T on A.NTipoArq = T.IdTipoArq LEFT JOIN TabCompetencia C on (A.NComp = C.IdComp) LEFT JOIN tabsecretarias S ON (A.NSec = S.IdSecretarias) INNER JOIN tabvereador V ON (A.NGestor = V.IdVereador) WHERE T.NCaracteristica = 25 "