A query may refer to any of the following:
1. In general, the term query is commonly used to describe a question or request that is made by a user or another computer or device. For example, when you use a search engine such as Google, the text you enter is considered the search query.
2. When referring to a database or search, a query is a field or option used to locate information within a database or other location. For example, you could query a database to find all related tables that match the state of "Utah" in the United States. The database could then return all people logged in the database that live in Utah.