The 2 tables don't have any data in common. That is, none of the ID values match from A to B. They don't have the same number of rows. What you asked makes no sense to me. Would you care to explain what you're trying to do. Post create table scripts, insert statements with your data, what results you're after and what you've tried so far.
Thanks