select * from dbtaxes.persons where document='30-71652555-0';


SELECT * FROM dbtaxes.tusers;

SELECT * FROM dbtaxes.user_persons where user_id = 104 or person_id =41204;

SELECT * FROM dbtaxes.tusermodules where idUser = 104;
start transaction;
insert into  dbtaxes.tusermodules (idUser,idModule)
select 104, idModule from (
SELECT idModule FROM dbtaxes.tmodules where show_user_admin = 1) as mitabla;
commit;

SELECT * FROM dbtaxes.notif_users_persons where user_id = 104 or person_id = 41204;

SELECT * FROM dbtaxes.tdbabuelas;

start transaction;
delete from `db30-71652555-0`.person_configurations where person_id !=44624 ;
COMMIT;
select * from `db30-71652555-0`.person_configurations where person_id =44624;
rollback;

start transaction;
delete from `db30-71652555-0`.receipts where person_id_owner!=44624 or person_id_relationed!=44624;
select * from `db30-71652555-0`.receipts where person_id_owner=44624 or person_id_relationed=44624;
CALL `dbtaxes`.`SPDeletePersonsFromDatabase`('`db30-71652555-0`');