【发布时间】:2011-07-18 00:36:38
【问题描述】:
我试图在 Access 2010 中编写查询。我有一个表:
表名是power。我正在尝试编写 IF 语句:
Select IIf(power.gain_type = 'D', power.gain_max + 2.15)
如果 gain_type 等于 D,则 gain_max 和 2.15
例如:
14.8 + 2.15 = 16.95。
提前致谢!
【问题讨论】:
标签: sql if-statement ms-access-2010