select (case when a = 0 then b * 0.01 else b end) as f1 from index a和b都是字段名,SQL执行会报错, 但是将b * 0.01改成b就没有问题