T7-1 LEARNING OUTCOMES – ACCESS PROBLEM SOLVING 1.Describe the process of using the Simple Query Wizard using Access 2.Describe the process of using the.

Slides:



Advertisements
Similar presentations
1 After completing this lesson, you will be able to: Create a database. Create a table using the Table Wizard. Create and modify a table in Design view.
Advertisements

Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Concepts of Database Management Seventh Edition
Chapter 6: Pivot Tables Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Chapter 1 Databases and Database Objects: An Introduction
Access Tutorial 3 Maintaining and Querying a Database
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 5 1 Microsoft Office Excel 2003 Tutorial 5 – Working With Excel Lists.
Querying a Database Using the Select Query Window
Querying a Database Microsoft Office Access 2003.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 3 Maintaining a Database Using the Design and Update Features of Access.
Access Tutorial 10 Automating Tasks with Macros
Advanced Tables Lesson 9. Objectives Creating a Custom Table When a table template doesn’t suit your needs, you can create a custom table in Design view.
XP 1 Microsoft Office Excel 2003 Tutorial 3 – Working With Excel Lists.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory.
Chapter 3 Maintaining a Database
Maintaining and Querying a Database Microsoft Access 2010.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Lesson 31: Querying a Database. 2 Learning Objectives After studying this lesson, you will be able to:  Create, save, and run select queries  Design.
Chapter 1 Databases and Database Objects: An Introduction
Chapter 6 Advanced Report Techniques
Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin TECHNOLOGY PLUG-IN T8 DECISION MAKING USING ACCESS.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
Microsoft Access 2000 Presentation 2 Creating Databases Part I (Creating Tables)
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T8: Decision Making Using Access 2007 Business Driven Technology.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
MS-ACCESS BY SANGEETHA PARTHASARATHY Topics to be covered §Comparing Values in Selection Criteria §Calculating Values in a Query §Changing the appearance.
Create Forms Lesson 5. Objectives Software Orientation The Forms group (below) is located on the Create tab in the Ribbon and can be used to create a.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Analyzing Data Using Access. Creating a new database To create a new database 1.Start Access. In the Task Pane, click Blank Database. 2.The File New Database.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T6: Basic Skills and Tools Using Access 2010 Business Driven Technology.
Office Management Tools II Ms Saima Gul. Office Management Tools II Ms Saima Gul.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Access Project 7 Advanced Report and Form Techniques.
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T7 PROBLEM SOLVING USING ACCESS.
Filtering Data A filter is a set of restrictions you place on the records of an open datasheet or form to temporarily isolate a subset of the records.
BUSINESS DRIVEN TECHNOLOGY Plug-In T5 Touring Access.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
® Microsoft Access 2010 Tutorial 3 Maintaining and Querying a Database.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T6 Basic Skills Using Access.
COMPREHENSIVE Access Tutorial 3 Maintaining and Querying a Database.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
1 After completing this lesson, you will be able to: Create and run a query. Specify criteria in a query. Create a calculated field. Create a multiple-table.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T7: Problem Solving Using Access 2007 Business Driven Technology.
© Paradigm Publishing Inc. ACCESS CREATING QUERIES, FORMS, AND REPORTS Section 3.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
What are queries? Queries are a way of searching for and compiling data from one or more tables. Running a query is like asking a detailed question of.
XP. Objectives Sort data and filter data Summarize an Excel table Insert subtotals into a range of data Outline buttons to show or hide details Create.
Microsoft Access 2000 Presentation 3 Creating Databases Part II (Creating Forms)
CREATING DATABASE Presenter: Jolanta Soltis. When to use Excel Use Excel when you: –Require a flat or non-relational view of your data (you do not need.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T8 Decision Making Using Access.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 6 BACKNEXTEND 6-1 LINKS TO OBJECTIVES Using the Report Button Using the Report Button Print.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
1 After completing this lesson, you will be able to: Create a form using AutoForm. Create a form using the Form Wizard. Add controls to a form. Modify.
Key Applications Module Lesson 22 — Managing and Reporting Database Information Computer Literacy BASICS.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
Lesson 4: Querying a Database. 2 Learning Objectives After studying this lesson, you will be able to:  Create, save, and run select queries  Set query.
Access Queries and Forms. Adding a New Field  To insert a field after you have saved your table, open Access, and open the table  It is easier to add.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T7: Problem Solving Using Access 2007 Business Driven Technology.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
Plug-In T7: Problem Solving Using Access 2007
Creating and Using a Database
Microsoft Official Academic Course, Access 2016
Chapter 1 Databases and Database Objects: An Introduction
Presentation transcript:

T7-1 LEARNING OUTCOMES – ACCESS PROBLEM SOLVING 1.Describe the process of using the Simple Query Wizard using Access 2.Describe the process of using the Design view for creating a query using Access 3.Describe the process of adding a calculated field to a query using Access 4.Describe the process of using aggregate functions to calculate totals in queries. 5.Describe how to format results displayed in calculated fields

T7-2 INTRODUCTION A query is a tool for extracting, combining, and displaying data from one or more tables, according to criteria you specify In a query, you can sort information, summarize data (display totals, averages, counts, and so on), display the results of calculations on data, and choose exactly which fields are shown You can view the results of a query in a tabular format, or you can view the query’s data through a form or on a report

T7-3 Creating Simple Queries Use the Simple Query Wizard to create a select query A select query displays data from a table or tables, based on the fields that you select, but it does not sort or filter the data

T7-4 Creating Simple Queries To create a query using the Simple Query Wizard: 1.Open the file T7_SlopesideBikes_Data.mdb 2.Click Queries in the Objects bar to open the Queries window 3.Double-click Create query by using wizard 4.Click the Tables/Queries box drop-down arrow. Click Table: CUSTOMER

T7-5 Creating Simple Queries

T7-6 Creating Simple Queries 5.Add all the fields by clicking on the right double arrow button 6.Click Next 7.Make sure that the radio button Detail is selected and click Next 8.Type Customer Query as the Query title 9.Click Finish to view the query in Datasheet view 10.Close the query (it will automatically be saved)

T7-7 Creating Simple Queries

T7-8 Reordering Columns In The Select Query Datasheet You can reorder columns by clicking and dragging To reorder columns: 1.Open the Customer Query by double-clicking on it from the objects list 2.Click the First Name field selector and drag to the left 3.Notice the black column border line that appears to the left of the selected column 4.As you move your mouse across the screen, the column border line will move with it 5.Close and Save the query

T7-9 Reordering Columns In The Select Query Datasheet

T7-10 Creating A Select Query In Design View To create a select query in Design view: 1.In the Queries window, double-click Create query in Design view 2.Click the name of the BIKE table 3.Click the Add button 4.Click the Close button to continue 5.Double-click the Bike ID field 6.Double-click the Description field 7.Run the query by clicking the Run button 8.Close and Save the query as Bike List

T7-11 Creating A Select Query In Design View Table and field list Query design grid

T7-12 Adding Selection Criteria To A Select Query To specify criteria for a select query: 1.Open the Bike List query 2.In Design view, double-click the Cost Per Hour field 3.Click in the Criteria cell under the Cost Per Hour field and type in <15 4.Run the query 5.Close and Save the query as Bikes Under $15

T7-13 Adding Selection Criteria To A Select Query Type the criteria in here

T7-14 Sorting Data In A Select Query You can control how records appear in Query datasheet view by using the sort feature To modify the select query to sort records: 1.Open the Bikes Under $15 query 2.In Design view, click Sort under the Description field 3.Click the drop-down arrow and select Ascending 4.Run the query 5.Close and Save the query as Sorted Bikes Under $15

T7-15 Advanced Queries To enter formulas in calculated fields, follow these steps: 1.Create a New query in Design view 2.Click the name of the BIKE, CUSTOMER, and RENTAL tables 3.Click the Add button 4.Click the Close button to continue 5.Double-click the Last Name and First Name fields from the CUSTOMER table, double-click the Date field from the RENTAL table, and double-click the Description field from the BIKE table

T7-16 Advanced Queries 6.To add a new calculated field, click inside the field row of a blank column, and type Rental Amount:. This is the name of an anonymous field 7.Now you will enter the expression to be calculated. Type in ([Time In]-[Time Out])*24*[Cost Per Hour] 8.Run the query to see the results of the calculated field 9.Close and Save the query as Rental Amount

T7-17 Advanced Queries

T7-18 Using Aggregate Functions To Calculate Totals In Queries Access includes a group of powerful built- in commands known as aggregate (or total) functions Using aggregate functions, you can easily calculate totals for groups of records returned by the query specifications Aggregate functions can calculate the sum, minimum, maximum, average, count, variance, and standard deviation

T7-19 Using Aggregate Functions To Calculate Totals In Queries To use aggregate functions in queries: 1.Create a New query in Design view 2.Click the name of the BIKE table and click the Add button 3.Click the Close button to continue 4.Double-click the Description and Cost Per Hour fields 5.Click the Totals button (the Sigma icon on the menu bar) to add the total row to the query grid

T7-20 Using Aggregate Functions To Calculate Totals In Queries 6.Click in the total row for the Description. Click the arrow and select Group By 7.Click in the total row for the Cost Per Hour cell 8.Click the arrow and select the Avg function 9.Click the Run button 10.Close and Save the query as Bike Average Cost Per Hour

T7-21 Using Aggregate Functions To Calculate Totals In Queries

T7-22 Formatting Results Displayed In A Calculated Field To use the format property for calculated fields: 1.Open the Rental Amount query in Design view 2.Right-click in the Rental Amount calculated field 3.Click Properties... from the shortcut menu 4.Click in the Format box 5.Click the drop-down arrow 6.Scroll down and click the Currency format 7.Close the Field Properties dialog box by clicking the close box in the upper right corner 8.Click the Run button

T7-23 Creating And Running Queries To Modify Data To use action queries: 1.Create a New query in Design view 2.Select the BIKE table and click Add 3.Close the Show Table Dialog box 4.Double-click the Cost Per Hour field to add it to the query grid 5.Convert the query to an action query by choosing the Query Type button on the tool bar and select Update Query 6.Click inside the Update To: row and type in [Cost Per Hour] +.50 (this will add 50 cents to each cost per hour) 7.Run the query

T7-24 Creating And Running Queries To Modify Data