The basic process
Start with a question, identify tables or queries with data that answers the question, create query, add data sources, fields, run.
Use the Query Wizard
-
Create > Query Wizard.
-
Select a query type > OK.
-
Select a data source (tables or queries), select your fields > Next.
-
Enter a name, select an option to open or modify > Finish
Use the query designer
-
Create > Query Design.
-
Use the Show Tabledialog to add tables or queries.
-
Double-click/tap, or drag and drop fields to add to the design grid.
Query multiple sources
-
If you use related tables, they’re joined.
-
Joined fields in unrelated sources must have matching or compatible data types; results should make sense.
-
Left outer join: All the data in the left-hand table, only matches from the right. Right outer join is reverse.
-
To add a join: Drag and drop.
-
To create the query: Add joined sources, add fields, run.
Intermediate tables
If two unrelated tables are both related to the same table, add that 3rd table to the query, then query the unrelated sources.