I am new with Oracle and I am having a problem getting the correct syntax for the following query;
SELECT
BRB_CALLDET_T.ACC_NUM,
BRB_CALLDET_T.BILL_NUM,
BRB_CALLDET_T.SERV_NUM,
IF(BRB_CALLDET_T.GNRC_PRC_AMT_CR)='CR' THEN SUM(BRB_CALLDET_T.GNRC_PRC_AMT* -1)
ELSIF...