我需要我的最终决定字段是 IIF 语句的结果。
但我不断收到语法错误。
SELECT x.AR_ID,
Final Decision: IIf([x].[R_DECISION] Is Not Null,
[R_DECISION],
IIf([ap_decsion] Is Not Null,
[ap_decsion],
IIf([ho_decision] Is Not Null,
[ho_decision],[ar_decision])
)
) FROM x;