Hi,
Thanks for the reply.
Removing the AS keyword still returns the same error, however I think I've cracked it - not seen syntax like this before!
SELECT A.ACCT_ID, A.BALANCE, A.SUM_AP, NEWPAY.SUMBALANCE
FROM TACCT A,
TABLE( MULTISET
(SELECT ACCT_ID, SUM(AMOUNT) AS SUMBALANCE
FROM TJRNL
WHERE...