我有以下列:
Cost | Rate1 | Rate2 | Rate3 | IsContainRate
100; 95; 100; 105; Y
105; 100; 110; 120; N
95; 95; 100; 130; Y
基本上,我想更新 IsContainRate 列基于
IF (Cost = Rate1 OR Cost = Rate2 OR Cost=Rate3) THEN
update IsContainRate=Y
ELSE IsContainRate = N
谢谢