tried pu a b but still getting error

NOT EXISTS wouldnt give the desired the result because I am matching rows not testing for existence right :-?