1 Reports. 2 Objectives  Use concatenation in a query  Change column headings and formats  Add a title to a report  Group data in a report  Include.

Slides:



Advertisements
Similar presentations
Excel Vocabulary.
Advertisements

Creating a Google Site April 2011 Public Computer Center at Moore Memorial Library | Greene, NY.
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.
Introduction to Microsoft Excel 2010 Chapter Extension 3.
1 Excel Lesson 1 Understanding Excel Fundamentals Microsoft Office 2010 Fundamentals Story / Walls.
Excel Understanding Excel Fundamentals Microsoft Office 2010 Fundamentals 1.
Understanding Microsoft Excel
7 Copyright © Oracle Corporation, All rights reserved. Producing Readable Output with i SQL*Plus.
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 3 1 Microsoft Office Excel 2003 Tutorial 3 – Developing a Professional- Looking.
1 An Introduction to IBM SPSS PSY450 Experimental Psychology Dr. Dwight Hennessy.
A Guide to SQL, Seventh Edition. Objectives Create a new table from an existing table Change data using the UPDATE command Add new data using the INSERT.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
A Guide to SQL, Seventh Edition. Objectives Understand the concepts and terminology associated with relational databases Create and run SQL commands in.
Chapter 1 Introduction to Spreadsheet. Agenda Download the practice files Spreadsheet application Workbook and worksheet Toolbar Cell Formatting Printing.
Introduction to Spreadsheets Presented by Frank H. Osborne, Ph. D. © 2005 Bio 2900 Computer Applications in Biology.
A Guide to MySQL 3. 2 Objectives Start MySQL and learn how to use the MySQL Reference Manual Create a database Change (activate) a database Create tables.
Concepts of Database Management Sixth Edition
FIRST COURSE Excel Lecture. XP 2 Introducing Excel Microsoft Office Excel 2007 (or Excel) is a computer program used to enter, analyze, and present quantitative.
SQL Query Extras MIS 433. Rerunning the last Query n Type the forward slash “/” to rerun the last query that was entered.
Notes to Teachers: 1.Make sure each student has his/her file open from the previous class “(student name).xlsx”. 2.A vocabulary list is included on last.
Lesson 1 – Microsoft Excel The goal of this lesson is for students to successfully explore and describe the Excel window and to create a new worksheet.
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
BASIC PARTS OF A TABLE Unit 8 – Tables Lesson 36.
Working with a Database
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 7 BACKNEXTEND 7-1 LINKS TO OBJECTIVES Record & run a macro Record & run a macro Save as a macro-
Creating a Web Site to Gather Data and Conduct Research.
Microsoft Access Get a green book. Page AC 2 Define Access Define database.
Microsoft Office Excel 2003 Tutorial 3 – Developing a Professional-Looking Worksheet.
Creating a Document with a Title Page, Lists, Tables, and a Watermark
Business Correspondence Documents II. Agenda A list of things to be done or actions to be taken, usually at a meeting.’
McGraw-Hill Career Education© 2008 by the McGraw-Hill Companies, Inc. All Rights Reserved. 3-1 Office Excel 2007 Lab 3 Managing and Analyzing a Workbook.
Analyzing Data For Effective Decision Making Chapter 3.
Key Applications Module Lesson 21 — Access Essentials
Using Special Operators (LIKE and IN)
Concepts of Database Management Seventh Edition
Objectives Set the margins of a document. Align text.
Tables Sacramento City College Engineering Design Technology.
1 Multiple Table Queries. 2 Objectives  Retrieve data from more than one table by joining tables  Using IN and EXISTS to query multiple tables  Nested.
Oracle Command Spool Spool C:\temp\Lab9.lst Select Hotel_no, room_no, type, price From Room Order by Hotel_no; Spool Off.
A Guide to SQL, Seventh Edition. Objectives Understand how to use functions in queries Use the UPPER and LOWER functions with character data Use the ROUND.
8 Producing Readable Output with SQL*Plus. 8-2 Objectives At the end of this lesson, you should be able to: Produce queries that require an input variable.
Microsoft® Excel Key and format dates and times. 1 Use Date & Time functions. 2 Use date and time arithmetic. 3 Use the IF function. 4 Create.
Chapter 5 Working with Multiple Worksheets and Workbooks
Lesson 1 – Microsoft Excel * The goal of this lesson is for students to successfully explore and describe the Excel window and to create a new worksheet.
1.  Formatting applied to spreadsheet for the purpose of organizing and clarifying information.  Data presented in a uniform and consistent format 
1 Lesson 13 Organizing and Enhancing Worksheets Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Copyright  Oracle Corporation, All rights reserved. 8 Producing Readable Output with SQL*Plus.
Concepts of Database Management Seventh Edition Chapter 3 The Relational Model 2: SQL.
Chapter 14 Formatting Readable Output. Chapter Objectives  Add a column heading with a line break to a report  Format the appearance of numeric data.
A Guide to SQL, Eighth Edition Chapter Eight SQL Functions and Procedures.
By max guerrero,bryan hernandez,caleb Portales  Spreadsheets are set up like tables with information running across rows and down columns. You could.
Basic Session. Course contents Overview: A hands-on introduction Section 1: What’s changed, and why Section 2: Get to work in Excel Section 3: Edit data.
Use of Data Security Commands Security: Information is vital to success, but when damaged or in the wrong hands, it can threaten success. OREACLE provides.
Understanding Microsoft Excel Lesson 1 – Microsoft Excel 2013.
Microsoft Access Lesson 5 Lexington Technology Center February 25, 2003 Bob Herring On the Web at
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 18 Getting Started with Excel Essentials 1 Morrison / Wells / Ruffolo.
Oracle PL/SQL SQL*Plus. EDIT Opens notepad with the buffer contents To use type: –Edit –Ed Opens notepad with the buffer contents To use type: –Edit –Ed.
A Guide to SQL, Sixth Edition 1 Chapter 7 Reports.
Lesson 17 Mail Merge. Overview Create a main document. Create a data source. Insert merge fields into a main document. Perform a mail merge. Use data.
Understanding Microsoft Excel
Understanding Microsoft Excel
Understanding Microsoft Excel
Microsoft Office 2007-Illustrated
A Guide to SQL, Seventh Edition
Word Processing.
Understanding Microsoft Excel
ORACLE.
Understanding Microsoft Excel
Microsoft Excel 2007 – Level 2
Presentation transcript:

1 Reports

2 Objectives  Use concatenation in a query  Change column headings and formats  Add a title to a report  Group data in a report  Include totals and subtotals in a report  Send a report to a file for printing

3 Concatenating Columns  Concatenation the process of combining two or more character columns into a single expression  To concatenate type 2 vertical lines (||) between column names  List the sales rep number and name of every sales rep where the name is a concatenation of the FIRST and LAST columns

4 RTRIM Function  When the first name doesn’t include sufficient characters to fill the width of the column, SQL inserts extra spaces  To remove extra spaces, use the right trim function (RTRIM function)  Rewrite previous example to use RTRIM function

5 Creating a View for the Report  Data for a report can come from either a table or a view  Often it is simpler to use a view if the report involves data from more than one table

6 Selecting Report Data  Once the query is built, a file should be created to store the report commands. A / at the end of the file will run the most recently run query

7 COLUMN Command  Use COLUMN command to change column headings change width of a column change the way entries appear in a column  Use CLEAR COLUMNS command to clear any previous column changes Without this command any previous changes made to column headings would still be in place  Change the column headings in the report so they are more descriptive of the columns’ content

8 FORMAT Command  The data in the other columns should be displayed with dollar signs and two decimal places

9 TTITLE and BTITLE Command  TTITLE command Adds a title to the top of the report  BTITLE command Adds a title to the bottom of the report  Add a title to the report The title should extend over two lines The fist line is “Customer Financial Report” The second line is Organized by Sales Rep”

10 SET LINESIZE Command  In order for the table to appear appropriately, adjust the line size by using the SET LINESIZE command Line size determines where the title appears when it is centered across the line SET LINESIZE 70 set the line to a length of 70 characters

11 Grouping Data in a Report  BREAK Command Identifies a column or collection of columns on which to group data Value of column is displayed only at the beginning of the group  In addition, remove the message at the end of the report that indicates the number of rows selected

12 Total and Subtotals in a Report  A total that appears after each group is called a subtotal  To calculate a subtotal, the BREAK command must be used to group the rows  Use the COMPUTE command to indicate the computation for the subtotal

13 Finishing Touches  Include these commands at the top of the report.  CLEAR COLUMNS  CLEAR COMPUTE  CLEAR BREAK

14 SPOOL Command  Send the report created to the file named PROJ1.OUT

15 Report Command Summary

16 Summary  To concatenate columns in report, separate the column names with two vertical lines (||) Use the RTRIM command to delete any extra spaces that follow the values  Use a script to save the commands used to create a report so you can make modifications to the report at a later time

17 Summary  Reports are based on tables or views that contain the report data  Use the COLUMN command to change a column heading Use the HEADING clause to assign a new heading name Type a single vertical line (|) to break a column heading over two lines  Use the COUMN command to change the format of column values

18 Summary  Use the TTITLE or BTITLE command to add a title at the top or bottom of a report, respectively  Use the BREAK command to group data in a report  Use the BREAK and COMPUTE commands and an appropriate statistical function to calculate data in a report, such as totals and subtotals

19 Summary  Use the SET PAUSE and SET PAGESZE commands to pause a report after each screen of data, or to change the number of report lines to display  Use the SPOOL command to send a report to a file for printing or editing