1. First, we will create a query to find all organizations with contacts: 
    1. Go to Analysis > Information Library 
    2. Click Add an ad-hoc query. 
    3. Select the source view of Constituents and click OK. 
    4. From the middle column, drag "Is organization" to Include Records Where. Set this to be equal to Yes. (Note: the Type field can also be used here. Set Type to be equal to organization).
    5. From the left column, highlight Relationships. From the middle column, drag "Is contact" into Include Records Where and set this to be equal to Yes. This will pull in all organizations that have a relationship where the person they have a relationship with is a contact. 
    6. On the Set save options tab, name your query (for example: Organizations with Contacts) and check the boxes to Create a selection and to Show this Selection in Query Designer. Here is an example: User-added image
    7. Click Save and Close. 
  2. Next, create a query of all organizations that do not appear in the first query (and therefore have no contacts associated with them). 
    1. Go to Analysis > Information Library 
    2. Click Add an ad-hoc query. 
    3. Select the source view of Constituents and click OK. 
    4. From the middle column, drag "Is organization" to Include Records Where. Set this to be equal to Yes. (Note: the Type field can also be used here. Set Type to be equal to organization).
    5. From the left column, highlight the Selections folder. From the middle column, find the query you created in Step 1. Drag this to Include Records where and set this filter to be No. Your criteria will appear similar to this one: Exists in "Organizations with Contacts (Ad-hoc Query) is equal to No. 
    6. Add any additional fields you need to Results Fields to Display. 
    7. Click Save and Close.