Select case when Importe <= 2000 then 'A' when (Importe > 2000 AND <= 5000) then 'B' else 'C' end as salida from tabla