需要帮助来构建表达式


1

需要知道如何从该查询构建表达式:创建一个新列以显示所有具有7.5%或更高的InterestRate的贷款的“高优先级”,否则显示“低优先级”。

Answers:


0

我不特别了解MS Access,但查询的通用版本可能是

alter table <table_name> add <column_name> varchar2(30)

update <table_name> set <column_name> = case when <interest_rate> >= 7.5 then 'HIGH PRIORITY' else 'LOW PRIORITY'
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.