Hello,
I am trying to write a subselect query but am getting an error message. Does DB2 support subselects similar to that of Oracle and MS SQL? Here is an example.
SELECT SUM(AMT) as sum_amt, a.SBSR_ID, a.SPSR_ID,
(SELECT COUNT(AMT)
FROM asouthard.eclaims b
where b.spsr_id = a.spsr_id...