select top 1 * from TB_BD_ACC_WEB where diah = '16' order by id desc select count(distinct cnpj) as num from TB_BD_ACC_LOG_WEB where data = '20220516' and cnpj != '' and cnpj != 'HOME' and cnpj is not null
Processado
ok