

select * from pessoas where empresa_id in ('803d198d-6d54-4bb2-98b1-123b3dba0105')

select * from empresa where id in ('803d198d-6d54-4bb2-98b1-123b3dba0105')



delete from titulos where empresa_id in ('803d198d-6d54-4bb2-98b1-123b3dba0105');
delete from cursos where empresa_id in ('803d198d-6d54-4bb2-98b1-123b3dba0105');
delete from formas_pagamento where empresa_id in ('803d198d-6d54-4bb2-98b1-123b3dba0105');
delete from contas_bancarias where empresa_id in ('803d198d-6d54-4bb2-98b1-123b3dba0105');
delete from tipos_cobranca where empresa_id in ('803d198d-6d54-4bb2-98b1-123b3dba0105');
delete from salas where empresa_id in ('803d198d-6d54-4bb2-98b1-123b3dba0105');
delete from quesitos where empresa_id in ('803d198d-6d54-4bb2-98b1-123b3dba0105');
delete from pessoas where empresa_id in ('803d198d-6d54-4bb2-98b1-123b3dba0105');
delete from fechamentos_conta where empresa_id in ('803d198d-6d54-4bb2-98b1-123b3dba0105');
delete from idiomas where empresa_id in ('803d198d-6d54-4bb2-98b1-123b3dba0105');
delete from empresas where id in ('803d198d-6d54-4bb2-98b1-123b3dba0105');

4c6a048ac86e7472d129e56198f07a60dc1f3f44