发布网友 发布时间:2022-04-26 14:15
共1个回答
热心网友 时间:2023-10-10 05:52
套一层应该就可以了。
select * from (
select
case when ADJUSTED_BUDGET_AMOUNT is not null
then ADJUSTED_BUDGET_AMOUNT
else BUDGET_AMOUNT
end as amount_
from TBM_PROJECT_BUDGET_INFO_TMP) t
where
t.amount_ is null