Creating Queries in Microsoft Access Made Easy
Q: How do you create a query in Microsoft Access?
- Microsoft Access
- Mid level question
Explore all the latest Microsoft Access interview questions and answers
ExploreMost Recent & up-to date
100% Actual interview focused
Create Microsoft Access interview for FREE!
Creating a query in Microsoft Access is relatively easy.
To begin, open the database in which you would like to create the query.
Once the database is open, click the ‘Create’ tab located at the top of the window.
From there, select the ‘Query Design’ icon, which will open up a new window with two sections – one for tables and one for fields.
The Tables section will show all the tables in the database, which you can add to the query by double clicking the table name.
Once the tables have been added, the Fields section will show all the fields associated with the selected tables.
Select the fields you would like to include in the query by double clicking on their names.
Once all the necessary fields have been added to the query, click the ‘Run’ icon at the top of the window. This will execute the query and display the results in a new window.
For example, if I wanted to create a query to show all customers who have purchased items from my store, I would add the 'Customers' and 'Purchases' tables to the query. Then, I would add the 'Customer Name' field from the Customers table and the 'Purchase Amount' field from the Purchases table. When I click the 'Run' icon, the query will display all customers who have purchased items along with the total amount of their purchases.
To begin, open the database in which you would like to create the query.
Once the database is open, click the ‘Create’ tab located at the top of the window.
From there, select the ‘Query Design’ icon, which will open up a new window with two sections – one for tables and one for fields.
The Tables section will show all the tables in the database, which you can add to the query by double clicking the table name.
Once the tables have been added, the Fields section will show all the fields associated with the selected tables.
Select the fields you would like to include in the query by double clicking on their names.
Once all the necessary fields have been added to the query, click the ‘Run’ icon at the top of the window. This will execute the query and display the results in a new window.
For example, if I wanted to create a query to show all customers who have purchased items from my store, I would add the 'Customers' and 'Purchases' tables to the query. Then, I would add the 'Customer Name' field from the Customers table and the 'Purchase Amount' field from the Purchases table. When I click the 'Run' icon, the query will display all customers who have purchased items along with the total amount of their purchases.


