Viewing 2 posts - 1 through 3 (of 3 total)
Finally, i found the query.
Thanks Ashish. Great support.
below is the query:
SELECT a.agentid,a.actid,c.restid,c.plancode
from a1 a, c1 c
where c.restid not in (select restid from b1) or a.actid not in (select...
October 6, 2010 at 2:48 am
#1232309
Ashish,
Thanks. it works. But if add another record in table A1, it does not work as expected:
select * from A1;
gives:
agentid, actid
1, 100
2, 200
In this case,
agent 1 have plancode AC,
but...
October 6, 2010 at 2:37 am
#1232306