To construct a membership query
From the top of an Administrator page, click Data Management > Query.
From the top of the page, click Create a new Query.
Provide the following information for the new query:
Name
Description
Security Category
Click Save.
On the Query Details page, set up your query to run based on:
Membership by Field Type and Field, click the option and then:
For Field Type, select Membership.
For Field, select one of the following:
Expiration
Last Renewal
Member Since
Membership Type
Status
Click Add.
In the pop-up, select the specific parameters for the query.
Click Save to return to the Query Details page.
Groups, click the option and then:
Select the Group Type from the drop-down list (for example, Donation or Membership).
Select the specific member Group from the second drop-down list (for example, Platinum).
Click Add.
In the pop-up, select the parameters for the query (for example, s a member of" the Platinum group).
Click Save to return to the Query Details page.
Complete your query.
Save and run the query according to your business practices.