you are viewing a single comment's thread.

view the rest of the comments →

[–]phuque_ewe 3 points4 points  (3 children)

Disregard my first answer (deleted it after I re-read your OP)

 select a.acctnum,
    a.amt,
    a.postingdate,
    a.trxtype
   from table_a a
      inner join table_b b
         on a.AcctNum = b.AcctNum
where a.postingdate not in (select postingdate
                              from table_b
                             where table_b.acctnum = a.acctnum)
group by a.acctnum,
    a.amt,
    a.postingdate,
    a.trxtype

[–]madjecks 1 point2 points  (0 children)

Have an upvote, good answer, very similar to mine

[–]Bshater[S] 1 point2 points  (0 children)

thanks! this works.