MS Access - Lesson 10: Querying the database

Query allows you to select and filter data from multiple tables. Queries can be saved and used anytime needed.

TipsMake.com - Query allows you to select and filter data from multiple tables. Queries can be saved and used anytime needed.

Query Wizard

Query Wizard will introduce each step to build a query. To execute a query using the Query Wizard:

- Click the Create tab

- Click the Query Wizard button

Picture 1 of MS Access - Lesson 10: Querying the database
- Select the type of query you want to execute

- Click OK .

Picture 2 of MS Access - Lesson 10: Querying the database
- Select the fields you want to have in each table by selecting the field and clicking the button
Picture 3 of MS Access - Lesson 10: Querying the database

- To select fields from different tables, click on the Table / Queries down arrow

- Click Next.

Picture 4 of MS Access - Lesson 10: Querying the database
Complete Query wizard

- Enter a name for the query

- Click Finish .

Picture 5 of MS Access - Lesson 10: Querying the database

- The retrieval results will still display as follows:

Picture 6 of MS Access - Lesson 10: Querying the database
To switch between tables and queries:

- Open Navigation Pane

- Double click on the table name or query to view.

Picture 7 of MS Access - Lesson 10: Querying the database
Query design feature

You can design a query with the Query Design button. To design a query using Query Design:

- Click the Query Design button on the Create tab.

Picture 8 of MS Access - Lesson 10: Querying the database
- The Show Table dialog box appears allowing you to select the table

- Click Add to add the table and click the Close button to close the Show Table dialog box

Picture 9 of MS Access - Lesson 10: Querying the database
- Double click on the field name you want it to appear in the design grid

- Repeat the above steps for other schools

Picture 10 of MS Access - Lesson 10: Querying the database
- Click the Run button to execute the query.
Picture 11 of MS Access - Lesson 10: Querying the database
Query design with conditions

The query standard is the search for the conditions used in the query to retrieve data. You can set the standard as a specific number or data string, or data range. 'value' Only displays the record that matches the correct value (replace the word value with the word you want to find) = Equal Greater than> = Greater than or equal to <> Different Between X And ​​Y In a range (get the value between X and Y) Is Null Null value And Only true if condition exists Or True if either condition exists Not True if 1 case is incorrect
To facilitate query:

- Click on the query you want to add conditions

- Enter the query condition for in the Criteria section

Picture 12 of MS Access - Lesson 10: Querying the database
- Then click the Run button to execute the query.

Update 25 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile