colores:#26538C11
Juzgado: 1107
3
Juzgado: 1112
1
SELECT juzgado,DESCRIP,count(id_ac) as C,nombre_check as JUICIO FROM acuerdos.audiencias_checkbox ac INNER JOIN acuerdos.entradas e ON ac.cu_ac = e.cu join juzgados j on j.codigo = e.juzgado WHERE (substr(cu_ac, 1, 4) = '1106' OR substr(cu_ac, 1, 4) = '1107' OR substr(cu_ac, 1, 4) = '1108' OR substr(cu_ac, 1, 4) = '1109' OR substr(cu_ac, 1, 4) = '1110' OR substr(cu_ac, 1, 4) = '1111' OR substr(cu_ac, 1, 4) = '1112' OR substr(cu_ac, 1, 4) = '0403') AND estatus_check = 'A' AND nombre_check = 'Nulidad de la actuación' AND tipo_actor = 'A' AND e.fecha>='2021-09-20' and e.fecha<='2024-03-28' group by nombre_check,juzgado;