Running Database Queries

In Access XP running database queries may seem confusing at first. This free lesson offers step-by-step instructions.

Creating a single-table query

In this example, we will create a new query and run it against the Contacts table. We will type the following command in the table: Show me the mailing address of all records in the Contacts table. When we create the query, we need to select the following fields in the Contacts table: Last Name, First Name, Address, City, State/Province, and Postal Code.

To create a simple query:

  • Open the contacts management database.
  • In the database window, choose the Queries tab from the Objects palette.
  • Select the Create query by using wizard option and click Open.

    Create Query Selection Under the Queries Palette
  • The Simple Query Wizard opens.

    Simple Query Wizard
  • From the Tables/Queries drop-down list, choose the table or query containing the fields you want to include in the query.

    Tables/Queries drop-down in Simple Query Wizard