MS Access - Lesson 10: Querying the database

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
MS Access - Lesson 10: Querying the database Picture 1 - Select the type of query you want to execute

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

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

- Click Next.
MS Access - Lesson 10: Querying the database Picture 4 Complete Query wizard

- Enter a name for the query

- Click Finish . MS Access - Lesson 10: Querying the database Picture 5

- The retrieval results will still display as follows:
MS Access - Lesson 10: Querying the database Picture 6 To switch between tables and queries:

- Open Navigation Pane

- Double click on the table name or query to view.
MS Access - Lesson 10: Querying the database Picture 7 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.
MS Access - Lesson 10: Querying the database Picture 8 - 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
MS Access - Lesson 10: Querying the database Picture 9 - Double click on the field name you want it to appear in the design grid

- Repeat the above steps for other schools
MS Access - Lesson 10: Querying the database Picture 10 - Click the Run button to execute the query.
MS Access - Lesson 10: Querying the database Picture 11 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
MS Access - Lesson 10: Querying the database Picture 12 - Then click the Run button to execute the query.

4 ★ | 1 Vote

May be interested

  • MS Word - Lesson 10: Read and check proofs for documentsPhoto of MS Word - Lesson 10: Read and check proofs for documents
    word 2007 has many features to help you read and test printouts for documents. they include tools: spelling and grammar (spell and grammar checker), thesaurus (synonyms), autocorrect (auto-correction), default dictionary (default dictionary) and word count (public word counting tool).
  • MS Access - Lesson 11: Calculating fieldPhoto of MS Access - Lesson 11: Calculating field
    the calculation field is a field that receives its information from calculations performed on other fields.
  • MS Word - Lesson 11: Format the pagePhoto of MS Word - Lesson 11: Format the page
    you can format the page for your document richer: page margin format, color, insert header and footer or create your own cover page.
  • Microsoft shows how to avoid trapping phishingPhoto of Microsoft shows how to avoid trapping phishing
    microsoft has issued a warning and recommended ways to protect users of e-mail services ...
  • MS Access 2007 - Lesson 12: Design FormsPhoto of MS Access 2007 - Lesson 12: Design Forms
    forms allow you to control the interface of the data entry screen and the generated reports. in this article, we will show you how to create a form and view the form in access 2007.
  • How to create Macros in Word 2007Photo of How to create Macros in Word 2007
    macros are advanced features, which can speed up editing or formatting that you can execute regularly in a word document. they record the sequence of choices you choose so that a series of actions can be completed in one step.