0
我是新來的SQL,並試圖以獲得在SQL要使用的值,如果一個語句等同。收到此錯誤 - ORA-00936:缺少表達
運行這個報告,我得到的錯誤「ORA-00936:缺少表達式」後
CASE WHEN (select Sum(MONTANT) from fraisExterne where matching=fm.id and statut=3) IS NULL
THEN select sum(MONTANT) from fraisExterne where matching=fm.id
ELSE Select sum (MONTANTHTBROKER) from fraismatching where matching=fm.id
End End as "BROKER AMOUNT"
請讓我們知道如果你能幫助我嗎