I have this query and send a 0.00 data and I do not want to be killed
my query:
select
Descuento = isnull((
SELECT sum(x.Valor)
FROM Cuenta x
where
x.IdSer between 25 and 39
and x.Valor != 0.00
and x.IdA = cc.IdA),0)
from Cuenta cc
group by
cc.IdCur,
cc.IdAl