OK, this will get you every unique combination of records that is the same on both tables, and return the GroupID and the Code from the 2nd table.
Note: I renamed some of your fields as you're using reserved words. Never name a field Type, Name, Range, Etc.
SELECT tblGroupCode.GroupID...