A formalized instruction to a database to either return a set of records or perform a specified action on a set of records as specified in the query. For example, the following SQL query statement returns records:
SELECT CompanyName FROM Publishers WHERE Region = 'NY'
You can create and run select, action, crosstab, parameter, and SQL-specific queries.