I'm afraid I'm not super familiar with Access -- but can you create a view based off your query? You can select a view as a secondary data source in InfoPath.
But can't you just relate the tables in your data connection? So, create a secondary data connection to Access, select your main table, then click the 'add table' button in the data connection wizard and define the relationship between the tables....