I have something more or less like that
select * from( selcect ...)as pt
pivot(
asc(valor) for desc in
(
[Deporte y cultura],[Despensa],[Destajo - sueldo],
[Destajos], etc ...)
) as pvt
So far so good, but I get many results as null from that pivot , could someone tell me how to change them to zero?