Error: Could not execute query select tipo,
(SELECT p.NOMBRE_PROV FROM PROVINCIA p WHERE p.id_prov=v.prov_ing) AS PROVINCIA,
count(*) TOTAL
from guias_tecnicas v
where TO_CHAR(v.fecha_desde, 'mm')=12 and TO_CHAR(v.fecha_desde, 'yyyy')=2024
group by tipo, prov_ing
in db_query()