A query occurs any time a search function is used to locate records in a database. So on a PC when you use the search prompt in Windows Explorer to find a file on your computer, you’ve just passed a query. When you type in an account number to pull up a customer account at work, a query was used to locate the record. Queries are a part of the fundamental functionality of the web and all computer systems.