select
CASE Month(fecha)
WHEN 1 THEN Year(fecha)-1
ELSE Year(fecha)
END as [FY], tipoproducto, tecnico
from Fconsultatec where fecha is not null
CASE Month(fecha)
WHEN 1 THEN Year(fecha)-1
ELSE Year(fecha)
END as [FY], tipoproducto, tecnico
from Fconsultatec where fecha is not null
Comentarios
Publicar un comentario