Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microsoft Office 2013: In Practice Chapter 3 Creating and Using Queries Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.

Similar presentations


Presentation on theme: "Microsoft Office 2013: In Practice Chapter 3 Creating and Using Queries Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin."— Presentation transcript:

1 Microsoft Office 2013: In Practice Chapter 3 Creating and Using Queries Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin

2 Microsoft Office 2013: In Practice 3-2 Student Learning Outcomes Understanding Queries and Using the Simple Query Wizard 3.1 Creating, Running, and Editing a Query in Design View 3.2 Adding a Criterion to a Query 3.3 More Query Options 3.4 Defining Multiple Criteria in a Query 3.5 Creating and Using a Simple Parameter Query 3.6 Adding Calculated Fields to a Query 3.7 Creating and Using a Summary Query 3.8

3 Microsoft Office 2013: In Practice 3-3 Case Studies Several case studies are used throughout the chapter!

4 Microsoft Office 2013: In Practice 3-4 Understanding Queries and Using the Simple Query Wizard SLO 3.1

5 Microsoft Office 2013: In Practice 3-5Queries Find data in your database by allowing you to ask a question Create using Design view or Query Wizard For example, show only students who are taking a course in the Biology Department

6 Microsoft Office 2013: In Practice 3-6 Creating, Running, and Editing a Query in Design View SLO 3.2

7 Microsoft Office 2013: In Practice 3-7Queries Create a Query Based on a single table Based on multiple tables Add Fields to a Query Edit fields in query design Run a Query Save a Query Open a saved query

8 Microsoft Office 2013: In Practice 3-8 Adding Criterion to a Query SLO 3.3

9 Microsoft Office 2013: In Practice 3-9Criterion Add criterion Use comparison operators Use wildcards in criteria Use expressions to write criterion!

10 Microsoft Office 2013: In Practice 3-10 Comparison Operators

11 Microsoft Office 2013: In Practice 3-11Wildcards ? Match any single character in a specific position * Match any number of characters # Match any single numeric digit

12 Microsoft Office 2013: In Practice 3-12 More Query Options SLO 3.4

13 Microsoft Office 2013: In Practice 3-13 Query Options Unique Values PropertyShow OptionSort

14 Microsoft Office 2013: In Practice 3-14 Defining Multiple Criteria in a Query SLO 3.5

15 Microsoft Office 2013: In Practice 3-15 Compound Criteria ANDOR AND: Requires that a record meet all of the individual conditions specified in order to be included in the results OR: Requires a record meet at least one of the conditions to be included in the results

16 Microsoft Office 2013: In Practice 3-16 Creating and Using a Simple Parameter Query SLO 3.6

17 Microsoft Office 2013: In Practice 3-17 Parameter Query Asks for a specific criteria value when you run the query Follow rules  Enter in criteria row  Enclose parameter in square brackets  Include operators as necessary before the parameter  Be specific in instructional dialog box by giving examples of what to enter along with the description

18 Microsoft Office 2013: In Practice 3-18 Parameter Query Options Multiple parameters Data type Wildcards

19 Microsoft Office 2013: In Practice 3-19 Adding Calculated Fields to a Query SLO 3.7

20 Microsoft Office 2013: In Practice 3-20 Order of Operations ()^*/-+

21 Microsoft Office 2013: In Practice 3-21Formulas Rules for formulas Troubleshoot calculated fields Functions in a calculated field

22 Microsoft Office 2013: In Practice 3-22 Creating and Using a Summary Query SLO 3.8

23 Microsoft Office 2013: In Practice 3-23 Aggregate Functions

24 Microsoft Office 2013: In Practice 3-24 Summary Query Build the same as select queries Use the total row that is added to the Design view of the query Include only the fields you want to group by and the fields you want to aggregate Use multiple aggregate functions on a field and use criteria as necessary

25 Microsoft Office 2013: In Practice 3-25 Chapter Summary


Download ppt "Microsoft Office 2013: In Practice Chapter 3 Creating and Using Queries Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin."

Similar presentations


Ads by Google