3/18/2020
Use queries to answer business or other questions based on data and to quickly and easily make bulk updates or to delete information from the database.
What are queries?
In Access, queries are like questions that you ask to find related, even very specific, information in your database.
In queries, you sometimes use data from just one table and other times from more than one. For example, you might want to just find a contact’s phone number, which requires a simple query of a phone number field for a specific person in a contacts table. Or you might combine data from more than one table, such as customer information and order information, to see what a customer has ordered.
In Access, a query is a database object. It doesn’t store data. Instead, it displays data that is stored in tables and it makes that data available for you to work with. A query might show data from one or more tables, from other queries, or from a combination of the two. For example:
Use the Query Wizard to create a select query that displays information in Datasheet View.
Note: Some design elements aren’t available when you use the wizard. If you need to, modify the query in Design View after you create it.
Note: Before you create a query, be sure you’ve established the relationships between tables in your database, because they are used when querying your data. To learn more, see Get started with table relationships and related modules in this training.
Create a query
Add as many fields as you want from as many tables as you want.
If you added a number field
If you added any number fields, the wizard asks whether you want the query to return details or summary data. Do one of the following:
If you added a date/time field
The Query Wizard asks you how you would like to group the date values. For example, suppose you added a number field, such as price, and a date/time field, such as transaction time, to the query, and then specified in the Summary Options dialog box that you want to see the average value of the price field. Because you included a date/time field, you could calculate summary values for each unique date and time value, for each day, month, quarter, or year.
Select the time period that you want to use to group the date and time values, and then select Next.
Note: In Design View, you have more options for grouping date and time values.
12/11/2025