Use the Data Objects tab to select the objects that you want to include in this query.
To Select Data Objects For A Query
Note: The field after the object name in the drop-down list is the field that is used to join the objects.
For example, if you select Account as the primary object and Contact as the child object with Required selected, the query only returns accounts that have at least one contact record. Accounts with no contacts are not included in the result set.
If Required is not checked and Account is the primary object and Contact is the child object, the query returns all Account records, whether or not the account has an associated Contact record.
See also
Creating an Insight Custom Query