I'm trying to implement this two when condition in the case expression but it is just not happening. Please help me fix this?
SELECT
BR, CID, TRNDATE,
CASE
WHEN TRNTYPE = '108' THEN -1 ELSE 1 * TrnAmt/100
WHEN TRNTYPE = '114' THEN (TrnIntAmt - TrnTaxAmt)/100
END as TransactionAmount
FROM
T_TRNHIST