-
From the Record menu in the Attribute Manager, click Query by and then click Example.
-
In Query by Example window, choose New from the Equation list box.
-
In the Attributes list, select the attribute you want to use in the query.
-
Select a relational operator (such as =, >, <, and so on) from the list box next to the Attributes list.
-
Enable one of the following options:
Attribute Values: uses field values in the query
Attributes: uses another attribute in the query
-
Select a value or attribute from the appropriate list.
-
Enable one of the following options:
-
AND: selects records that are true for both joined statements
- OR: selects records that are true for at least one of the joined statements
-
Click Add.
-
Repeat step 3 to step 8 as needed.
-
Click Save.
-
Enter a name for the equation in the Equation name box and click OK.
-
In the Query by Example window, click OK.
Query by Subset
If you select Query by Subset before using the Query by features (Current, Excluding Current, and Example), the query is limited to the selected records only instead of performing the query on all the records.