you need to create a link between the fields that you want to compare on. basically, in the query design window, add the two tables you want to compare. click the field you want to compare on in one fieldlist and drag it to the appropriate field in the other fieldlist.
Just add all the fields to the query from one of the tables in the normal way.
I would recommend a using a make-table query for this purpose.
cyberz