SELECT TOP 1000 [LEAD_CO_MNE]
,CASE
WHEN CURRENCY <> 'KHR' THEN AMOUNT_FCY
ELSE AMOUNT_LCY
END 'Amount' --I want to split into type of amount debit or crdit
,CURRENCY
How could I split the 'Amount' into 2 column debit
and credit
base on the condition if > 0 credit else debit.