select case
when a b and a c then a
when b a and b c then b
else c
end as max_result
from table1;
uj5u.com熱心網友回復:
不成力,解釋清楚a b關系。uj5u.com熱心網友回復:
when 后面必須跟著一個 bool 型別的運算式, 你這種不可以的uj5u.com熱心網友回復:
a b a c b a b c 這四組要表達什么意思?目前這么寫資料庫是識別不了的uj5u.com熱心網友回復:
WHEN 后面是boolen型,A B 沒有運行符轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/87557.html
標籤:疑難問題
上一篇:請教多個數據庫匯總到一個資料庫中
下一篇:軟體開發求助大佬
