query

A formalized instruction to a database to either return a set of records as specified in the query, or perform a specified action on a set of records as specified in the query.  For example, this is an SQL query statement that returns records: SELECT [Company Name] FROM Publishers WHERE State = 'NY'