ENDERE�O, Centro
Guaraciaba - SC - Cep: 89920-000
Fone: (49) 3645 2000
[ Ocultar Dados ]
select * from gedoc_tab_005 where CNPJ = '82821216000182' and DATAEXP <> '0000-00-00' and (GERADO <> 'S' or GERADO is null) and CNPJ in(select CNPJ from gedoc_tab_000 where DECRETO = 'X') order by DATAEXP desc, CAST(SUBSTRING(numero, 1,5) as signed integer) desc limit 0, 10