Error: Could not execute query SELECT (select r.nombre_prov from provincia r where r.id_prov = P.PROV_ING) PROVINCIA, count(*) TOTAL FROM LABORATORIO P WHERE P.TIPO_ACT_PREV IN (SELECT T.ID_ACT_PREV FROM TIPO_ACTIVIDAD_PREVENCION T WHERE T.EST_ACT_PREV = 1 AND T.FORM_ACT_PREV = 'LAB' AND T.ROL_ACT_PREV IN ('HIG')) AND TO_CHAR(FECHA_PRU, 'mm')=12 and TO_CHAR(FECHA_PRU, 'yyyy')='2024' AND TIENE_PLAN LIKE 'SI' GROUP BY PROV_ING in db_query()