I am using Oracle Forms and facing issue in writing a cursor. My cursor is
CURSOR ss
IS
SELECT pjno, bdate, PROJECT
FROM billcrown
LEFT JOIN bank_details ON billcrown.pjno = bank_details.pjno
WHERE billcrown.bdate > '01-Jul-2017'
GROUP BY billcrown.pjno
HAVING SUM (billcrown.PAMT) <> NVL (SUM (bank_details.AMOUNT), 0);
s ss%ROWTYPE;
It's showing error on pining on left join. Error is (Encountered the symbol 'JOIN' when expecting one of the following. , ; ) It is working fine at SQL prompt. Please suggest.