---
title: Using the query builder
slug: dmg-android/guide/using-the-query-builder
createdAt: 2026-10-06T07:46:34.554Z
---

**Procedure**

1. Select a field on which to search. **Hint**: you can type a few letters of the field name to see a short list of matching fields, or press <font color="#323232">Expand All</font> within the field list to see all the fields.
   For example, if you select <font color="#323232">Status</font>, the search engine provides only values available for <font color="#323232">Status</font>.
2. Select an operator, such as <font color="#323232">Equals</font>.
3. Click in the <font color="#323232">Value</font> field to enter a value you want to search.
4. Some fields have predetermined values that you can select.
5. Select additional fields and criteria as needed.
6. Click <font color="#323232">All</font> to combine the criteria with a logical AND or click <font color="#323232">Any</font> to combine the criteria with OR.
7. Click <font color="#323232">Search</font> to display the matching devices and their owners.

:::hint{type="info"}
To include retired devices in the results, uncheck the check box to the left of the <font color="#323232">Search</font> button.
:::

**Related topics**

- [Using a manually edited search expression](docId:0pnI_6Ika3X0JHkOO0FgJ)
- [Using both the query builder and manual editing](docId\:er3M_jNOx9jV_ml3XX3ie)
