McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T7: Problem Solving Using Access 2007 Business Driven Technology.

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

Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin TECHNOLOGY PLUG-IN T3 PROBLEM SOLVING USING EXCEL.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Microsoft Office 2007 Access Chapter 2 Querying a Database.
Chapter 1 Databases and Database Objects: An Introduction
Access Tutorial 3 Maintaining and Querying a Database
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.
Microsoft Access – Tutorial 1 if you need to review general Microsoft Office procedures such as: menus toolbars task panes files help printing please go.
Access Tutorial 10 Automating Tasks with Macros
Chapter 2 Querying a Database
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.
Chapter 3 Maintaining a Database
Maintaining and Querying a Database Microsoft Access 2010.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Microsoft Access – Tutorial 3
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.
Microsoft Office 2007 Access Chapter 2 Querying a Database.
® 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 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.
BUSINESS DRIVEN TECHNOLOGY Plug-In T5 Touring Access.
® Microsoft Access 2010 Tutorial 3 Maintaining and Querying a Database.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lesson 1 Introduction.
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.
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.
Microsoft Access 2000 Presentation 3 Creating Databases Part II (Creating Forms)
Create Reports Lesson 6. Objectives Software Orientation The Reports group is located on the Create tab in the Ribbon. Use the Reports group of commands.
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.
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.
Microsoft Access – Tutorial 3 Performing Calculations copy the HighWageAmounts query and paste it name it HighWageAmountsWithBonus and open it in Design.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T8 Decision Making Using Access.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T3: Problem Solving Using Excel 2007.
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.
Create ReportsCreate Reports Lesson 6 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Access Microsoft Access 2013.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
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.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
Microsoft Access – Tutorial 3
Access Chapter 2 Querying a Database.
Analyzing Data Using Access
Microsoft Access – Tutorial 3
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
CREATING QUERIES, FORMS, AND REPORTS Section 3
Presentation transcript:

McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T7: Problem Solving Using Access 2007 Business Driven Technology

1-2 LEARNING OUTCOMES 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

1-3 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

1-4 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

1-5 Creating Simple Queries To create a query using the Simple Query Wizard: 1.Open the file SlopesideBikes from the course website 2.You will see a Security Warning Click on the Options button and select Enable Click OK 3.Click the Create tab and then click the Query Wizard button 4.Double-click Create query by using wizard 5.Click the Tables/Queries box drop-down arrow 6.Click Table: CUSTOMER

1-6 Creating Simple Queries

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

1-8 Creating Simple Queries

1-9 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 Navigation pane 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

1-10 Reordering Columns In The Select Query Datasheet

1-11 Creating A Select Query In Design View To create a select query in Design view: 1.Click the Create tab and then click the Query Design button in the Other group 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

1-12 Creating A Select Query In Design View

1-13 Creating A Select Query In Design View

1-14 Adding Selection Criteria To A Select Query To specify criteria for a select query: 1.In the Navigation Pane, click the Bike List query, right-click and click on Design View 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 (for more inequalities type “and” between them) 4.Run the query 5.Close and Save the query as Bikes Under $15

1-15 Adding Selection Criteria To A Select Query

1-16 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

1-17 Advanced Queries To enter formulas in calculated fields, follow these steps: 1.Click the Create tab and then click the Query Design button 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

1-18 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

1-19 Calculated Fields- Alternate way Right click on blank field of the query grid Select BUILD Select appropriate tables/attributes with appropriate mathematical operation Type appropriate name for the EXPRESSION

1-20 Advanced Queries

1-21 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

1-22 Using Aggregate Functions To Calculate Totals In Queries To use aggregate functions in queries: 1.Click the Create tab and then click the Query Design button 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

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

1-24 Using Aggregate Functions To Calculate Totals In Queries

1-25 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

1-26 Formatting Results Displayed In A Calculated Field

1-27 Practice with NorthEast database Create queries : to display Employer name, city, stateprov, openings, position title, StartDate, EndDate To display stateProv, PositionTitle (sorted ascending), StartDate, Openings ( sorted Desceding) to display PositionTiltle, Wage, HoursPerWeek, Experience, Startdate, EndDate, Openeing with wage greater than $17

1-28 Practice with NorthEast database To display EmployerName, City, Position Title HoursPerWeek, Experience, with hours per week less than 30 OR experience required To display EmployerName, PositionTitle, Wage and an extra field “ weekly Bonus” with 2% bonus [ calculated field]

1-29 Practice with NorthEast database To display position title and calculate the minimum, average and maximum of all wages [ using aggregated function]

1-30 Practice with Report Create a report based on EmployeName, City, StateProv, ContactFirstname, ContactLast Name, and Phone from Employer table, all fields from Position table, sorted by positionID, no grouping, outline2, landscape