Chapter 6 UNDERSTANDING AND DESIGNING QUERIES AND REPORTS.

Slides:



Advertisements
Similar presentations
Database Management Systems and Enterprise Software
Advertisements

© Paradigm Publishing, Inc Access 2010 Level 1 Unit 2Creating Forms and Reports Chapter 6Creating Reports and Mailing Labels.
Jeopardy Objects Navigation Buttons True/False Parts of a Report Vocabulary Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500 Final.
Microsoft Access Course 1. Introduction to the user interface.
Chapter 5: Database Forms and Reports
Jones Rama Accounting information system A Business process approach FREDERICK L. JONES DASARATHA V. RAMA.
Microsoft Access 2013 ®® Tutorial 7 Creating Custom Reports.
Concepts of Database Management Seventh Edition
Concepts of Database Management Sixth Edition
Microsoft Excel Working with Excel Lists, Subtotals and Pivot Tables.
University of Nevada, Reno College of Business Administration What are we going to learn 9/27 – 9/29? 1. Answer questions about MS Access queries. 2. Understand.
The University of Akron Dept of Business Technology Computer Information Systems The Relational Model: Query-By-Example (QBE) 2440: 180 Database Concepts.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
Creating Custom Forms. 2 Design and create a custom form You can create a custom form by modifying an existing form or creating a new form. Either way,
Mark Dixon Page 1 07 – Reports. Mark Dixon Page 2 Session Aims & Objectives Aims –To use reports to produce more readable documents Objectives, by end.
Developing Effective Reports
1 SYSTEMS DESIGN Pertemuan 13 s.d 20 Matakuliah: A0554/Analisa dan Perancangan Sistem Informasi Akuntansi Tahun: 2006.
ACCESS – CHAPTER 4 ZNANATEJ PANGA October 27, 2014.
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
1 Chapter 1 Tour of Access. 1 Chapter Objectives Start and exit Microsoft Access Open and run an Access application Identify the major elements of the.
With Microsoft Access 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
Chapter 5 UNDERSTANDING AND DESIGNING ACCOUNTING DATA.
Developing Effective Reports
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 4: Create, Edit, and Perform.
CS1100: Access Reports Microsoft Access Report Construction Created By Martin Schedlbauer CS11001Microsoft Access.
Concepts of Database Management, Fifth Edition
® Microsoft Access 2010 Tutorial 6 Using Form Tools and Creating Custom Forms.
Microsoft Office Illustrated Fundamentals Unit L: Creating Database Reports.
XP Chapter 5 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Developing Effective Reports Chapter 5 “Nothing succeeds.
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
Using Form Tools and Creating Custom Forms Microsoft Access 2010.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 3 Analyzing Data and Creating Reports.
Analyzing Data For Effective Decision Making Chapter 3.
Access 2013 Microsoft Access 2013 is a database application that is ideal for gathering and understanding data that’s been collected on just about anything.
Chapter 4: Create, Edit, and Perform Calculations in Reports Exploring Microsoft Office Access 2007.
Concepts of Database Management Seventh Edition
Pasewark & Pasewark 1 Access Lesson 5 Creating and Modifying Reports Microsoft Office 2007: Introductory.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
COMPREHENSIVE Access Tutorial 6 Using Form Tools and Creating Custom Forms.
Introduction to Computers Lesson 10B. home Database A collection of related data or facts.
CIS 250 Advanced Computer Applications Introduction to Access.
Reports 5.02 Understand database queries, forms, and reports used in business.
Chapter 5-1. Chapter 5-2 Chapter 5: Database Forms and Reports Introduction Forms Reports.
Chapter 5-1. Chapter 5-2 Chapter 5: Database Forms and Reports Introduction Forms Reports.
IS201 Agenda: 10/15/2013 Do form and report exercise. Identify general guidelines for form and report design. Discuss a few key points about reports in.
 Agenda 2/20/13 o Review quiz, answer questions o Review database design exercises from 2/13 o Create relationships through “Lookup tables” o Discuss.
Chapter 9 Query-by-Example Pearson Education © 2009.
Microsoft Office XP Illustrated Introductory, Enhanced Reports Using.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making Chapter.
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lab 3 Analyzing Tables and Creating.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 4: Create, Edit,
Pasewark & Pasewark 1 Access Lesson 5 Creating and Modifying Reports Microsoft Office 2007: Introductory.
Databases and ADO.NET Programming Right from the Start with Visual Basic.NET 1/e 11.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
Forms 5.02 Understand database queries, forms, and reports.
Adding Reports to a Database. Why do we use Reports? Reports are well-designed printed pages that offer several advantages: Reports are well-designed.
Chapter 4 Crystal Report Presenter: PEN PHIROM (MscIT) Phone:
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
Concepts of Database Management, Fifth Edition Chapter 3: The Relational Model 2: SQL.
Microsoft® Access Generate reports quickly 1 Modify controls in layout view 2 Work with report sections 3 Work with controls in a report 4 Use Format.
DAY 20: ACCESS CHAPTERS 5, 6, 7 Larry Reaves October 28,
Microsoft Office Access 2010 Lab 3
Access Reports.
Agenda: 10/05/2011 and 10/10/2011 Review Access tables, queries, and forms. Review sample forms. Define 5-8 guidelines each about effective form and report.
Exploring Microsoft Office Access 2010
Chapter 9 Query-by-Example Pearson Education © 2009.
Microsoft Office Illustrated Fundamentals
Query-by-Example Transparencies
Presentation transcript:

Chapter 6 UNDERSTANDING AND DESIGNING QUERIES AND REPORTS

Queries Query languages – Enable users to communicate with the DBMS in more structured formats Structured query language (SQL) Query by example (QBE)

Queries Query languages - Structured Query Language (SQL) Basic format of query SELECT attributes FROM tables WHERE criteria

Queries Query languages – Structured Query Language (SQL) Format allows: Specifying attributes to include in the output Accessing data from tables based on a condition Specifying tables from which attributes used in the criteria can be obtained

Queries Query languages – Query by Example (QBE): Simpler but less powerful approach for communicating with the database Specify the desired output from one or more tables using a grid Enter name of each desired attribute (field) into a different column in the grid Enter selection criteria in the appropriate attribute’s column User doesn’t have to learn details of SQL

Queries Query specification: Single table queries – Two sets of questions: 1. What attributes do users require in the query output? What tables contain the attributes required? 2. What criteria will be used to generate the output? What attributes will be used in the criteria? What tables contain the attributes needed?

Queries Query specification: Single table queries – Once queries are answered, either Use a QBE grid to specify the given information to the DBMS or Express the information in a SQL statement

Queries Query specification: Multiple table queries – Make sure the different tables in the query are properly linked to each other Answer question # 3 – What foreign keys link the information in a table to the primary keys of other tables in the query?

Queries Specifying criteria with multiple conditions: Template for expressing query design Complex queries and the navigation template

Types of Reports 4 reports based on the organization of the data - Simple list Grouped detail Summary Single entity Reports can be based on the type of data

Types of Reports Need to review the format (layout) of a report. Then, consider the following questions related to report design: What data are included in a report? How are the data organized?

Types of Reports Report layout: Most reports have: Report header Page header Page footer Report footer Report details section

Types of Reports Report layout: Two important elements of any report: Label boxes Display descriptive text Unaffected by table data Static - do not change when underlying data changes Text boxes Display data taken or derived from a table Depends on current contents of table Dynamic

Types of Reports Report layout: Grouped detail reports – Grouped by something (the grouping attribute) Contain: Group header Group detail Group footer

Types of Reports Report content Report organization

Event Reports List or summarize event data available in transaction tables Draw on data available in transaction tables for most of their content Criteria are used to restrict output to specific events

Event Reports Report should show criteria used to select information Report header should show starting and ending dates of the events Simple event lists: Simple listing of events during a time period organized by event date or transaction # No grouping or subtotals

Event Reports Grouped event detail reports: List of events during a period Commonly grouped by products/services or agents Subtotals are often reported Easier to analyze than ungrouped reports

Event Reports Event summary report: Summarizes event data by various parameters May be superior to grouped event detail reports when a large number of groups needs to be reported

Event Reports Single event report: Details about a single event Often printed for documentation or to give to customers or suppliers

Reference Lists and Status Reports Focus on providing information about products, services, or agents Criteria can be used to restrict the output

Reference Lists and Status Reports 4 report models focus on organizing and summarizing master table data Reference lists Grouped detail status reports Summary status reports Single product/service/agent status reports

Reference Lists and Status Reports Reference lists: Report only reference data that are taken from master tables Information about balances or quantity on hand not included in reports

Reference Lists and Status Reports Status reports: Summary data about products, services, agents Grouped detail status reports Display summary data, usually some reference data, and supporting details Draw on event and product/service/agent records Usually list one type of event

Reference Lists and Status Reports Status reports: Summary status reports List reference and summary data about products/services/agents Summarize the status of the product, service, agent Single product/service/agent status reports Provide detailed data Include both reference and summary data for a single entity

Appendix: Using navigation templates to design queries: For more complicated queries To document the reasoning behind the query design Navigation template: A problem-solving aid Helps document how to assemble information from various tables in response to a query

Appendix Navigation template: Two basic ways to identify information from tables 1. Identify records that satisfy a certain condition – criterion is based on attributes of a single table 2. Identify records where a value in the attribute of one table matches the value of an attribute in another table - criterion requires information from multiple tables

Appendix Navigation template: Helps avoid errors in query construction Forces careful thinking about required tables Omitting required tables or adding unnecessary tables may result in incorrect answers When template is completed Construct actual query Query design template can summarize design of query

K E Y T E R M S Database management system (DBMS) FROM Event summary report Group footer Group header Grouped detail report Grouped detail status reports

K E Y T E R M S Grouped event detail reports Label boxes Page footer Page header Query Query by example (QBE) Reference lists

K E Y T E R M S Report Report details Report footer Report header SELECT Simple event lists Simple list Single entity report Single event report

K E Y T E R M S Single product/service/agent status reports Status reports Structured query language (SQL) Summary report Summary status reports Text boxes WHERE