Creating QBE Queries in Microsoft SQL Server
|
|
|
- Holly Smith
- 10 years ago
- Views:
Transcription
1 Creating QBE Queries in Microsoft SQL Server When you ask SQL Server or any other DBMS (including Access) a question about the data in a database, the question is called a query. A query is simply a question represented in a way that the DBMS can recognize and process. In this section, you will investigate Query-By-Example (QBE), an approach to writing queries that is very visual. With QBE, users ask their questions by entering column names and other criteria using an on-screen grid, and data appears on the screen in tabular form. In SQL Server, you create queries using the View window. Start Visual Studio and open the Web Site that contains the database. To reach the View window for a new query, in Server Explorer click the expand * ] arrow for the database to view its objects. Right-click on the Views group and from the drop-down menu click on the Add New View command. The Add Table dialog window is displayed (see next page). You should select the table (or more than one table if this is to be a query that joins fields from multiple tables) from which the fields will be selected for your query (make certain the Tables tab in the window is selected). Click the <Add> button to insert the table into the top section of the View Designer window. When you are finished with the Add Table dialog, click the <Close> button to close the window. 1
2 The SQL Server View Designer window has four panes (see image on the following page): Field list for each table the upper portion of the window contains a field list for each table you want to query; note that the table s primary key displays in a bold font The design grid the second pane contains the design grid, the area in which you specify the format of your output, the fields to be included in the query results, a sort order for the query results, and any criteria the records you are looking for must satisfy SQL equivalent the third pane displays the SQL language equivalent of the query that you are creating in the design grid (this is not important to use now, so you can ignore whatever appears there; but in the next chapter you will be learning the SQL language for querying a database, so we will use that part of the View window then Output window the bottom portion is the output window where the results of the query (the records and fields returned) will be displayed when you run your queries 2
3 The following figures and examples will show you how to retrieve data using the SQL Server version of QBE. SIMPLE QUERIES To include a field in the results of a query, you place it in the design grid. EXAMPLE 1 List the number, name, balance, and credit limit of all customers in the database. To include a field in a SQL ServerView query, click the check mark ( ) in front of the fieldname which places it in the design grid, as shown in the image on the next page. The checksin the check boxes in the Column column in the design grid indicate that the fields that will appear in the query results. To omit a field from the query results, remove the check mark from the field s check box. 3
4 You should take note of two other columns in the design grid: The Table column indicates the name of the table from which the field was taken The Output column indicates that a particular field will be displayed in the output window; there are instances in which a field is being used for some other operation in the query but will not actually be displayed; perhaps it is being used as a criteria or for grouping of data results (examples to follow later) Clicking the <Run>( ) button (actually called the Execute SQL button) on the View Designer toolbarruns the query and displays the query results, as shown above. 4
5 A SQL Server view is an object that must be saved. You should click the <Save> button on the Standard toolbar. The Choose Name dialog window is displayed. As directed you should enter a name for the view. Although SQL Server allows spaces in object names, there will be few problems later when working with views if you enter single word names with no spaces as per the Example name below. Click the <OK> button when you are ready to save the view. If you make subsequent changes to the view, you can click the <Save> button again to save the modifications. You will not see the Choose Name dialog window when you do this since the view object already has been given a name. When you are done working on the view, click the close (X) button on the tab of View Designer to close the window. EXAMPLE2 List all fields and all rows in the Orders table. To display all fields and all rows in the Orders table, you could add each field to the design grid. There is a shortcut, however. In SQL Server, you can add all fields from a table to the design grid by clicking the check mark ( ) in front of the asterisk (*) shown as (All Columns) in the table s field list. As seen in the image on the next page, the asterisk appears in the Column column of the design grid, indicating that all fields will be included in the query results. 5
6 The query results above are displayed in the output window when the <Run> button is clicked. SIMPLE CRITERIA When the records that you want to display in a query s results must satisfy a condition, you enter the condition in the appropriate column in the design grid. Conditions that data must satisfy are also called criteria. (A single condition is called a criterion.) The following example illustrates the use of a criterion to select data. EXAMPLE3 Find the name of customer 148. To enter a criterion for a field, include the field in the design grid, and then enter the criterion in the column labeled Filter for that field, as shown in the image on the next page. 6
7 It is common to omit the equal to (=) comparison operator when entering criteria for Numeric type fields. It was not necessary to type the = along with the criterion number 148. However SQL Server automatically adds it when you run the query, move to another line or column, or save the query. The query results in the image above show an exact match; the query selects a record only when CustomerNum equals 148. Please note that the CustomerNum field is entered into the grid design only for the purpose of specifying the criterion. The check box for it in the Output column is unchecked so it is not displayed in the output window. Q & A Question: Sometimes a field like the CustomerNum field will be defined as a Text field and not a Numeric field? Why might this be true? Doesn t it contain numbers? Answer: Fields such as the CustomerNum field that contain numbers, but are not involved in calculations, are frequently assigned the Text data type. NOTE When you enter a criterion for a Text field, such as CustomerNum, SQL Server automatically adds double quotation marks around the value when you run the query or move the insertion point to another box in the design grid. Typing the quotation marks is optional. (Some DBMSs use single quotation marks to enclose Text values.) If you want something other than an exact match, you must enter the appropriate comparison operator, also called a relational operator, as you will see in the next example. The comparison 7
8 operators are = (equal to), > (greater than), < (less than), >= (greater than or equal to), <= (less than or equal to), and NOT (not equal to). COMPOUND CRITERIA You can use the comparison operators by themselves to create conditions. You can also combine criteria to create compound criteria, or compound conditions. In many query languages, you create compound criteria by including the word AND or OR between the separate criteria. In an AND criterion, both criteria must be true for the compound criterion to be true. In an OR criterion, the overall criterion is true if either of the individual criteria is true. In QBE, to create an AND criterion, place the criteria for multiple fields on the same Criteria row in the design grid; to create an OR criterion, place the criteria for multiple fields on different Criteria rows in the design grid. EXAMPLE 4 List the description, on hand value, and warehouse number for all parts that have more than 10 units on hand and that are located in warehouse 3. To indicate that two criteria must both be true to select a record, place the conditions for each field in the same Criteria row, as shown in the image on the next page. In this case, you want the query to select those parts where the value in the OnHand field is greater than 10 (which requires the use of the greater than (>) comparison operator) and the value in the Warehouse field is 3. 8
9 The query results above are displayed in the output window when the <Run> button is clicked. EXAMPLE 5 List the description, on hand value, and warehouse number for all parts that have more than 10 units on hand or that are located in warehouse 3. To indicate that either of two conditions must be true to select a record, place the first criterion in the Criteria row for the first column and place the second criterion in the row labeled or, as shown on the next page. 9
10 The query results above are displayed in the output window when the <Run> button is clicked. EXAMPLE 6 List the number, name, and balance for each customer whose balance is between $ 1,000 and $ 5,000. This example requires you to search for a range of values to find all customers with balances between $ 1,000 and $ 5,000. When you ask this kind of question, you are looking for all balances that are greater than $ 1,000 and all balances that are less than $ 5,000; the answer to this question requires using a compound criterion, or two criteria in the same field. To place two criteria in the same field, separate the criteria with the AND operator to create an AND condition. The image on the next page shows the AND condition to select all records with a value of more than 1000 and less than 5000 in the Balance field. 10
11 The query results above are displayed in the output window when the <Run> button is clicked. COMPUTED FIELDS Sometimes you ll need to include calculated fields that are not in the database in queries. A computed field or calculated field is a field that is the result of a calculation using one or more existing fields. Example 7 illustrates the use of a calculated field. EXAMPLE 7 List the number, name, and available credit for all customers. Available credit is computed by subtracting the balance from the credit limit. Because there is no available credit field in the Customer table, you must calculate it from the existing Balance and CreditLimit fields. To include a computed field in a query, you enter a name for the computed field, followed by a colon, and then followed by an expression in one of the columns in the Field row. To calculate available credit, you can enter the expression CreditLimit-Balance in the desired Column column in the design grid. By default SQL Server gives the calculated field a name of Expr1 in the Alias column. A more descriptive name AvailableCredit (again no spaces in the name) can be 11
12 assigned which then is displayed as the column heading in the output windowas shown in the image below. NOTE When a field name contains spaces or SQL reserved words, you must enclose the field name in square brackets ([ ]). For example, if the field name were Credit Limit instead of CreditLimit, you would enter the expression as [Credit Limit]-Balance. You can also enclose a field name that does not contain spaces in square brackets, but you do not need to do so. The query results above are displayed in the output window when the <Run> button is clicked. You are not restricted to subtraction in computations. You can also use addition (+), multiplication (*), or division (/). You can include parentheses in your expressions to indicate which computations SQL Server should perform first. FUNCTIONS All products that support QBE, including SQL Server, support the following built-in functions (also called aggregate functions): Count, Sum, Avg (average), Max (largest value), Min (smallest value), 12
13 StDev (standard deviation), Var (variance), First, and Last. To use any of these functions in a query, you include them in the Group By column for the desired row in the design grid. By default, the Group By columns does not appear automatically in the design grid. To add the column to the design grid, rightclick anywhere in the design grid and select Add Group By from the drop-down menu. Example 8 illustrates how to use a function in a query by counting the number of customers represented by sales rep 35. EXAMPLE 8 How many customers does sales rep 35 represent? To count the number of rows in the Customer table that have the value 35 in the RepNum column, you select the Count function from the drop-down list in the Group By column for the * (All Columns)field. In the RepNumrow, Group By is entered automatically in the Group By column. In the Filter column for the RepNumrow, the entry 35 selects only those records for sales rep number 35, as shown in the image on the next page. The check mark in the Output column is not necessary as it need not be displayed in response to the question above. 13
14 The query results appear in image above. Notice that SQL Server used the default name Expr1 for the new column. You could create your own column name by entering it in the Alias column in the query design (for example NumberOfCustomers ). EXAMPLE 9 What is the average balance of all customers of sales rep 35? To calculate the average balance, use the Avgfunction, as shown in the image on the next page. 14
15 The query results above are displayed in the output window when the <Run> button is clicked. GROUPING You can also use functions in combination with grouping, where calculations affect groups of records. For example, you might need to calculate the average balance for all customers of each sales rep.grouping simply means creating groups of records that share some common characteristic. In grouping by RepNum, for example, the customers of sales rep 20 would form one group, the customers of sales rep 35 would form a second group, and the customers of sales rep 65 would form a third group. The calculations are then made for each group. EXAMPLE 10 What is the average balance for all customers of each sales rep? In this example, include the RepNum and Balance fields in the design grid. To group the customer records for each sales rep, select the Group By operator in the Total row for the RepNum column. To calculate the average balance for each group of customers, select the Avg function in the Total row for the Balance column, as shown in Figure
16 The query results above are displayed in the output window when the <Run> button is clicked. SORTING In most queries, the order in which records appear doesn t matter. In other queries, however, the order in which records appear can be very important. You might want to see customers listed alphabetically by customer name or listed by rep number. Further, you might want to see customer records listed alphabetically by customer name and grouped by sales rep number. To list the records in query results in a particular way, you need to sort the records. The field on which records are sorted is called the sort key; you can sort records using more than one field when necessary. When you are sorting records by more than one field (such as sorting by rep number and then by customer name), the first sort field (RepNum) is called the major sort key (also called the primary sort key) and the second sort field (CustomerName) is called the minor sort key (also called the secondary sort key). To sort in SQL Server, specify the sort order (Ascending or Descending) in the Sort Type column of the design grid for the sort key field(s). EXAMPLE 11 List the customer number, name, balance, and rep number for each customer. Sort the output alphabetically by customer name. 16
17 To sort the records alphabetically using the CustomerName field, select the Ascending sort order in the Sort Type column for the CustomerName column, as shown in Figure (To sort the records in reverse alphabetical order, select the Descending sort order.) The query results above are displayed in the output window when the <Run> button is clicked. Notice that the customer names appear in alphabetical order. Sorting on Multiple Keys You can specify more than one sort key in a query; in this case, the sort key with the value 1 in the Sort Order column of the design grid will be the major (primary) sort key and the sort key with the value 2 in the Sort order column will be the minor (secondary) sort key. Example 12 illustrates the process. EXAMPLE 12 List the customer number, name, balance, and rep number for each customer. Sort the output by sales rep number. Within the customers of each sales rep, sort the output by customer name. 17
18 In the image below, the value 1 is selected in the Sort Order column for the RepNum field in the design grid so RepNum is the major sort key. The value 2 is selected in the Sort Order column for the CustomerName field in the design grid so CustomerName is the minor sort key. The query results when the <Run> button is clicked as shown in the image above shows the ascending sort order for the RepNum field. The first group of customers served by rep #20 are sorted within that RepNumb group; then a second group of customer served by rep #35 are sorted separately within the second RepNumb group, and so on for all sales reps. JOINING TABLES So far, the queries used in the examples have displayed records from a single table. In many cases, you ll need to create queries to select data from more than one table. To do so, it is necessary to join the tables based on matching fields in corresponding columns. To join tables in SQL Server, first you add the field lists for both tables to the upper pane of the Query window. SQL Server will draw a line, called a join line, between matching fields in the two tables, indicating that the tables are related. (If the corresponding fields have the same field name and at least one of the fields is the primary key of the table that contains it, SQL Server will join the tables automatically.) Then, you can select fields from either or both tables, as you will see in the next example. 18
19 EXAMPLE 13 List each customer s number and name, along with the number, last name, and first name of each customer s sales rep. You cannot create this query using a single table the customer name is in the Customer table and the sales rep name is in the Rep table. The sales rep number can come from either table because it is the matching field. To select the correct data, you need to join the tables by adding both the Customer and Rep table field lists to the upper pane and then adding the desired fields from the field lists to the design grid, as shown in the image below. Notice that the Table column in the design grid indicates the table with which each field is associated. The query results above are displayed in the output window when the <Run> button is clicked. EXAMPLE 14 For each customer whose credit limit is $ 10,000, list the customer s number and name, along with the number, last name, and first name of the corresponding sales rep. 19
20 The only difference between this query and the one illustrated in Example 13 is that there is an extra restriction the credit limit must be $10,000. To include this new condition, add the CreditLimit field to the design grid, enter as the criterion, and remove the check mark from the CreditLimitfield s Output check box (because the CreditLimit column should not appear in the query results). The query design appears in the image below. Only customers with credit limits of $10,000 are included in the query results, as shown in the output window when the <Run> button is clicked. Joining Multiple Tables Joining three or more tables is similar to joining two tables. First, you add the field lists for all the tables involved in the join to the upper pane, and then you add the fields to appear in the query results to the design grid in the desired order. EXAMPLE 15 For each order, list the order number, order date, customer number, and customer name. In addition, for each order line within the order, list the part number, description, number of units ordered, and quoted price. 20
21 This query requires data from four tables: Orders (for basic order data), Customer (for the customer number and name), OrderLine (for the part number, number ordered, and quoted price), and Part (for the description). The image below shows the query design. The query results above are displayed in the output window when the <Run> button is clicked. Beginning on page 55 of the Pratt and Adamski textbook update, delete and make-table queries are discussed. These operations are not available in the SQL Server View queries. However you should read about them in the textbook so that you have a general concept how such queries work and be able to any answer Review Questions concerning them. You will not be required to perform these types of queries. 21
Tutorial 3. Maintaining and Querying a Database
Tutorial 3 Maintaining and Querying a Database Microsoft Access 2010 Objectives Find, modify, and delete records in a table Learn how to use the Query window in Design view Create, run, and save queries
Microsoft Office 2010
Access Tutorial 3 Maintaining and Querying a Database Microsoft Office 2010 Objectives Find, modify, and delete records in a table Learn how to use the Query window in Design view Create, run, and save
Access Queries (Office 2003)
Access Queries (Office 2003) Technical Support Services Office of Information Technology, West Virginia University OIT Help Desk 293-4444 x 1 oit.wvu.edu/support/training/classmat/db/ Instructor: Kathy
Database Applications Microsoft Access
Database Applications Microsoft Access Lesson 4 Working with Queries Difference Between Queries and Filters Filters are temporary Filters are placed on data in a single table Queries are saved as individual
MICROSOFT ACCESS 2003 TUTORIAL
MICROSOFT ACCESS 2003 TUTORIAL M I C R O S O F T A C C E S S 2 0 0 3 Microsoft Access is powerful software designed for PC. It allows you to create and manage databases. A database is an organized body
Querying a Database Using the Select Query Window
Querying a Database Using the Select Query Window PROJECT CASE PERSPECTIVE Dr. Gernaey and his colleagues are eager for Ashton James College (AJC) to obtain the benefits they anticipated when they set
BID2WIN Workshop. Advanced Report Writing
BID2WIN Workshop Advanced Report Writing Please Note: Please feel free to take this workbook home with you! Electronic copies of all lab documentation are available for download at http://www.bid2win.com/userconf/2011/labs/
Creating and Using Databases with Microsoft Access
CHAPTER A Creating and Using Databases with Microsoft Access In this chapter, you will Use Access to explore a simple database Design and create a new database Create and use forms Create and use queries
Access 2010: Creating Queries Table of Contents INTRODUCTION TO QUERIES... 2 QUERY JOINS... 2 INNER JOINS... 3 OUTER JOINS...
Access 2010: Creating Queries Table of Contents INTRODUCTION TO QUERIES... 2 QUERY JOINS... 2 INNER JOINS... 3 OUTER JOINS... 3 CHANGE A JOIN PROPERTY... 4 REMOVING A JOIN... 4 CREATE QUERIES... 4 THE
Using an Access Database
A Few Terms Using an Access Database These words are used often in Access so you will want to become familiar with them before using the program and this tutorial. A database is a collection of related
Microsoft Access 3: Understanding and Creating Queries
Microsoft Access 3: Understanding and Creating Queries In Access Level 2, we learned how to perform basic data retrievals by using Search & Replace functions and Sort & Filter functions. For more complex
Tutorial 3 Maintaining and Querying a Database
Tutorial 3 Maintaining and Querying a Database Microsoft Access 2013 Objectives Session 3.1 Find, modify, and delete records in a table Hide and unhide fields in a datasheet Work in the Query window in
Access Tutorial 3 Maintaining and Querying a Database. Microsoft Office 2013 Enhanced
Access Tutorial 3 Maintaining and Querying a Database Microsoft Office 2013 Enhanced Objectives Session 3.1 Find, modify, and delete records in a table Hide and unhide fields in a datasheet Work in the
Introduction to Microsoft Access 2010
Introduction to Microsoft Access 2010 A database is a collection of information that is related. Access allows you to manage your information in one database file. Within Access there are four major objects:
Unit 10: Microsoft Access Queries
Microsoft Access Queries Unit 10: Microsoft Access Queries Introduction Queries are a fundamental means of accessing and displaying data from tables. Queries used to view, update, and analyze data in different
Introduction to Microsoft Access 2013
Introduction to Microsoft Access 2013 A database is a collection of information that is related. Access allows you to manage your information in one database file. Within Access there are four major objects:
In This Issue: Excel Sorting with Text and Numbers
In This Issue: Sorting with Text and Numbers Microsoft allows you to manipulate the data you have in your spreadsheet by using the sort and filter feature. Sorting is performed on a list that contains
Microsoft Access 2010 handout
Microsoft Access 2010 handout Access 2010 is a relational database program you can use to create and manage large quantities of data. You can use Access to manage anything from a home inventory to a giant
Creating Database Tables in Microsoft SQL Server
Creating Database Tables in Microsoft SQL Server Microsoft SQL Server is a relational database server that stores and retrieves data for multi-user network-based applications. SQL Server databases are
Using Excel As A Database
Using Excel As A Database Access is a great database application, but let s face it sometimes it s just a bit complicated! There are a lot of times when it would be nice to have some of the capabilities
Fig. 1 Suitable data for a Crosstab Query.
Crosstab Queries A Crosstab Query is a special kind of query that summarizes data by plotting one field against one or more other fields. Crosstab Queries can handle large amounts of data with ease and
Check out our website!
Check out our website! www.nvcc.edu/woodbr idge/computer-lab Contact Us Location: Open Computer Lab Seefeldt Building #336 NOVA Woodbridge Campus Hussna Azamy (OCL Supervisor) Phone: 703-878-5714 E-mail:
MICROSOFT ACCESS STEP BY STEP GUIDE
IGCSE ICT SECTION 11 DATA MANIPULATION MICROSOFT ACCESS STEP BY STEP GUIDE Mark Nicholls ICT Lounge P a g e 1 Contents Task 35 details Page 3 Opening a new Database. Page 4 Importing.csv file into the
Excel 2010: Create your first spreadsheet
Excel 2010: Create your first spreadsheet Goals: After completing this course you will be able to: Create a new spreadsheet. Add, subtract, multiply, and divide in a spreadsheet. Enter and format column
Creating a Participants Mailing and/or Contact List:
Creating a Participants Mailing and/or Contact List: The Limited Query function allows a staff member to retrieve (query) certain information from the Mediated Services system. This information is from
MICROSOFT OUTLOOK 2010 WORK WITH CONTACTS
MICROSOFT OUTLOOK 2010 WORK WITH CONTACTS Last Edited: 2012-07-09 1 Access to Outlook contacts area... 4 Manage Outlook contacts view... 5 Change the view of Contacts area... 5 Business Cards view... 6
A database is a collection of data organised in a manner that allows access, retrieval, and use of that data.
Microsoft Access A database is a collection of data organised in a manner that allows access, retrieval, and use of that data. A Database Management System (DBMS) allows users to create a database; add,
Objectives. Microsoft Office 2007 Access 2007 Vista Notes. Opening a database, Tables, Querying a Database, and Reports
Microsoft Office 2007 Access 2007 Vista Notes Opening a database, Tables, Querying a Database, and Reports Objectives 1. Start Access 2. Describe the features of the Access window 3. Create a database
Instructions for Creating an Outlook E-mail Distribution List from an Excel File
Instructions for Creating an Outlook E-mail Distribution List from an Excel File 1.0 Importing Excel Data to an Outlook Distribution List 1.1 Create an Outlook Personal Folders File (.pst) Notes: 1) If
Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro
Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro, to your M: drive. To do the second part of the prelab, you will need to have available a database from that folder. Creating a new
Introduction to Microsoft Access 2003
Introduction to Microsoft Access 2003 Zhi Liu School of Information Fall/2006 Introduction and Objectives Microsoft Access 2003 is a powerful, yet easy to learn, relational database application for Microsoft
Data Tool Platform SQL Development Tools
Data Tool Platform SQL Development Tools ekapner Contents Setting SQL Development Preferences...5 Execution Plan View Options Preferences...5 General Preferences...5 Label Decorations Preferences...6
Crystal Reports Payroll Exercise
Crystal Reports Payroll Exercise Objective This document provides step-by-step instructions on how to build a basic report on Crystal Reports XI on the MUNIS System supported by MAISD. The exercise will
Sample- for evaluation only. Introductory Access. TeachUcomp, Inc. A Presentation of TeachUcomp Incorporated. Copyright TeachUcomp, Inc.
A Presentation of TeachUcomp Incorporated. Copyright TeachUcomp, Inc. 2010 Introductory Access TeachUcomp, Inc. it s all about you Copyright: Copyright 2010 by TeachUcomp, Inc. All rights reserved. This
Working with SQL Server Integration Services
SQL Server Integration Services (SSIS) is a set of tools that let you transfer data to and from SQL Server 2005. In this lab, you ll work with the SQL Server Business Intelligence Development Studio to
Using SQL Queries in Crystal Reports
PPENDIX Using SQL Queries in Crystal Reports In this appendix Review of SQL Commands PDF 924 n Introduction to SQL PDF 924 PDF 924 ppendix Using SQL Queries in Crystal Reports The SQL Commands feature
Task Force on Technology / EXCEL
Task Force on Technology EXCEL Basic terminology Spreadsheet A spreadsheet is an electronic document that stores various types of data. There are vertical columns and horizontal rows. A cell is where the
Microsoft Access 2010 Part 1: Introduction to Access
CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Microsoft Access 2010 Part 1: Introduction to Access Fall 2014, Version 1.2 Table of Contents Introduction...3 Starting Access...3
HRS 750: UDW+ Ad Hoc Reports Training 2015 Version 1.1
HRS 750: UDW+ Ad Hoc Reports Training 2015 Version 1.1 Program Services Office & Decision Support Group Table of Contents Create New Analysis... 4 Criteria Tab... 5 Key Fact (Measurement) and Dimension
Chapter 5. Microsoft Access
Chapter 5 Microsoft Access Topic Introduction to DBMS Microsoft Access Getting Started Creating Database File Database Window Table Queries Form Report Introduction A set of programs designed to organize,
SPSS: Getting Started. For Windows
For Windows Updated: August 2012 Table of Contents Section 1: Overview... 3 1.1 Introduction to SPSS Tutorials... 3 1.2 Introduction to SPSS... 3 1.3 Overview of SPSS for Windows... 3 Section 2: Entering
Microsoft Query, the helper application included with Microsoft Office, allows
3 RETRIEVING ISERIES DATA WITH MICROSOFT QUERY Microsoft Query, the helper application included with Microsoft Office, allows Office applications such as Word and Excel to read data from ODBC data sources.
General User/Technical Guide for Microsoft Access
General User/Technical Guide for Microsoft Access School of Nursing University of Michigan This guide is the first step in understanding your database. See the list of documentation locations at the end
EXCEL 2007. Using Excel for Data Query & Management. Information Technology. MS Office Excel 2007 Users Guide. IT Training & Development
Information Technology MS Office Excel 2007 Users Guide EXCEL 2007 Using Excel for Data Query & Management IT Training & Development (818) 677-1700 [email protected] http://www.csun.edu/training TABLE
Click to create a query in Design View. and click the Query Design button in the Queries group to create a new table in Design View.
Microsoft Office Access 2010 Understanding Queries Queries are questions you ask of your database. They allow you to select certain fields out of a table, or pull together data from various related tables
Excel 2003 Tutorial I
This tutorial was adapted from a tutorial by see its complete version at http://www.fgcu.edu/support/office2000/excel/index.html Excel 2003 Tutorial I Spreadsheet Basics Screen Layout Title bar Menu bar
MS Excel. Handout: Level 2. elearning Department. Copyright 2016 CMS e-learning Department. All Rights Reserved. Page 1 of 11
MS Excel Handout: Level 2 elearning Department 2016 Page 1 of 11 Contents Excel Environment:... 3 To create a new blank workbook:...3 To insert text:...4 Cell addresses:...4 To save the workbook:... 5
Microsoft Access 2010 Overview of Basics
Opening Screen Access 2010 launches with a window allowing you to: create a new database from a template; create a new template from scratch; or open an existing database. Open existing Templates Create
Microsoft Excel 2013: Using a Data Entry Form
Microsoft Excel 2013: Using a Data Entry Form Using Excel's built in data entry form is a quick and easy way to enter data into an Excel database. Using the form allows you to: start a new database table
Excel Database Management Microsoft Excel 2003
Excel Database Management Microsoft Reference Guide University Technology Services Computer Training Copyright Notice Copyright 2003 EBook Publishing. All rights reserved. No part of this publication may
OLAP Cube Manual deployment and Error resolution with limited licenses and Config keys
Documented by - Sreenath Reddy G OLAP Cube Manual deployment and Error resolution with limited licenses and Config keys Functionality in Microsoft Dynamics AX can be turned on or off depending on license
Microsoft Office Access 2007 which I refer to as Access throughout this book
Chapter 1 Getting Started with Access In This Chapter What is a database? Opening Access Checking out the Access interface Exploring Office Online Finding help on Access topics Microsoft Office Access
Microsoft Excel 2010 Part 3: Advanced Excel
CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Microsoft Excel 2010 Part 3: Advanced Excel Winter 2015, Version 1.0 Table of Contents Introduction...2 Sorting Data...2 Sorting
MICROSOFT OUTLOOK 2011 READ, SEARCH AND PRINT E-MAILS
MICROSOFT OUTLOOK 2011 READ, SEARCH AND PRINT E-MAILS Lasted Edited: 2012-07-10 1 Find the Inbox... 3 Check for New Mail... 4 Manually check for new messages... 4 Change new incoming e-mail schedule options...
Using Microsoft Access
Using Microsoft Access USING MICROSOFT ACCESS 1 Queries 2 Exercise 1. Setting up a Query 3 Exercise 2. Selecting Fields for Query Output 4 Exercise 3. Saving a Query 5 Query Criteria 6 Exercise 4. Adding
Business Objects Version 5 : Introduction
Business Objects Version 5 : Introduction Page 1 TABLE OF CONTENTS Introduction About Business Objects Changing Your Password Retrieving Pre-Defined Reports Formatting Your Report Using the Slice and Dice
LEGISLATOR DATABASE. September, 2012
LEGISLATOR DATABASE September, 2012 1. INTRODUCTION 2. LIST OF QUERIES 3. FIELDS 4. QUERY DESCRIPTIONS 5. USING THE LEGISLATOR DATABASE QUERIES 6. DOWNLOADING THE LEGISLATOR DATABASE FROM THE CGA HOME
Sample- for evaluation purposes only. Advanced Crystal Reports. TeachUcomp, Inc.
A Presentation of TeachUcomp Incorporated. Copyright TeachUcomp, Inc. 2011 Advanced Crystal Reports TeachUcomp, Inc. it s all about you Copyright: Copyright 2011 by TeachUcomp, Inc. All rights reserved.
How To Create A Powerpoint Intelligence Report In A Pivot Table In A Powerpoints.Com
Sage 500 ERP Intelligence Reporting Getting Started Guide 27.11.2012 Table of Contents 1.0 Getting started 3 2.0 Managing your reports 10 3.0 Defining report properties 18 4.0 Creating a simple PivotTable
Introduction to Microsoft Access 2007
Introduction to Microsoft Access 2007 Introduction A database is a collection of information that's related. Access allows you to manage your information in one database file. Within Access there are four
Netmail Search for Outlook 2010
Netmail Search for Outlook 2010 Quick Reference Guide Netmail Search is an easy-to-use web-based electronic discovery tool that allows you to easily search, sort, retrieve, view, and manage your archived
Creating Calculated Fields in Access Queries and Reports
Creating Calculated Fields in Access Queries and Reports Access 2000 has a tool called the Expression Builder that makes it relatively easy to create new fields that calculate other existing numeric fields
SECTION 2-1: OVERVIEW SECTION 2-2: FREQUENCY DISTRIBUTIONS
SECTION 2-1: OVERVIEW Chapter 2 Describing, Exploring and Comparing Data 19 In this chapter, we will use the capabilities of Excel to help us look more carefully at sets of data. We can do this by re-organizing
Lab 2: MS ACCESS Tables
Lab 2: MS ACCESS Tables Summary Introduction to Tables and How to Build a New Database Creating Tables in Datasheet View and Design View Working with Data on Sorting and Filtering 1. Introduction Creating
Microsoft Excel 2010 Tutorial
1 Microsoft Excel 2010 Tutorial Excel is a spreadsheet program in the Microsoft Office system. You can use Excel to create and format workbooks (a collection of spreadsheets) in order to analyze data and
Creating tables of contents and figures in Word 2013
Creating tables of contents and figures in Word 2013 Information Services Creating tables of contents and figures in Word 2013 This note shows you how to create a table of contents or a table of figures
To create a histogram, you must organize the data in two columns on the worksheet. These columns must contain the following data:
You can analyze your data and display it in a histogram (a column chart that displays frequency data) by using the Histogram tool of the Analysis ToolPak. This data analysis add-in is available when you
User Guide. Trade Finance Global. Reports Centre. October 2015. nordea.com/cm OR tradefinance Name of document 8/8 2015/V1
User Guide Trade Finance Global Reports Centre October 2015 nordea.com/cm OR tradefinance Name of document 2015/V1 8/8 Table of Contents 1 Trade Finance Global (TFG) Reports Centre Overview... 4 1.1 Key
Microsoft Excel 2007 Consolidate Data & Analyze with Pivot Table Windows XP
Microsoft Excel 2007 Consolidate Data & Analyze with Pivot Table Windows XP Consolidate Data in Multiple Worksheets Example data is saved under Consolidation.xlsx workbook under ProductA through ProductD
Basic Excel Handbook
2 5 2 7 1 1 0 4 3 9 8 1 Basic Excel Handbook Version 3.6 May 6, 2008 Contents Contents... 1 Part I: Background Information...3 About This Handbook... 4 Excel Terminology... 5 Excel Terminology (cont.)...
Visualization with Excel Tools and Microsoft Azure
Visualization with Excel Tools and Microsoft Azure Introduction Power Query and Power Map are add-ins that are available as free downloads from Microsoft to enhance the data access and data visualization
Using Ad-Hoc Reporting
Using Ad-Hoc Reporting The purpose of this guide is to explain how the Ad-hoc reporting function can be used to produce Management Information from client and product data held in the Key. The guide will
MICROSOFT OFFICE ACCESS 2007 - NEW FEATURES
MICROSOFT OFFICE 2007 MICROSOFT OFFICE ACCESS 2007 - NEW FEATURES Exploring Access Creating and Working with Tables Finding and Filtering Data Working with Queries and Recordsets Working with Forms Working
Word 2010: Mail Merge to Email with Attachments
Word 2010: Mail Merge to Email with Attachments Table of Contents TO SEE THE SECTION FOR MACROS, YOU MUST TURN ON THE DEVELOPER TAB:... 2 SET REFERENCE IN VISUAL BASIC:... 2 CREATE THE MACRO TO USE WITHIN
User Guide for Kelani Mail
User Guide for Kelani Mail Table of Contents Log in to Kelani Mail 1 Using Kelani Mail 1 Changing Password 2 Using Mail Application 3 Using email system folders 3 Managing Your Mail 4 Using your Junk folder
Styles, Tables of Contents, and Tables of Authorities in Microsoft Word 2010
Styles, Tables of Contents, and Tables of Authorities in Microsoft Word 2010 TABLE OF CONTENTS WHAT IS A STYLE?... 2 VIEWING AVAILABLE STYLES IN THE STYLES GROUP... 2 APPLYING STYLES FROM THE STYLES GROUP...
Creating a Patch Management Dashboard with IT Analytics Hands-On Lab
Creating a Patch Management Dashboard with IT Analytics Hands-On Lab Description This lab provides a hands-on overview of the IT Analytics Solution. Students will learn how to browse cubes and configure
Step One. Step Two. Step Three USING EXPORTED DATA IN MICROSOFT ACCESS (LAST REVISED: 12/10/2013)
USING EXPORTED DATA IN MICROSOFT ACCESS (LAST REVISED: 12/10/2013) This guide was created to allow agencies to set up the e-data Tech Support project s Microsoft Access template. The steps below have been
Search help. More on Office.com: images templates. Here are some basic tasks that you can do in Microsoft Excel 2010.
Page 1 of 8 Excel 2010 Home > Excel 2010 Help and How-to > Getting started with Excel Search help More on Office.com: images templates Basic tasks in Excel 2010 Here are some basic tasks that you can do
Microsoft Office Access 2007 Basics
Access(ing) A Database Project PRESENTED BY THE TECHNOLOGY TRAINERS OF THE MONROE COUNTY LIBRARY SYSTEM EMAIL: [email protected] MONROE COUNTY LIBRARY SYSTEM 734-241-5770 1 840 SOUTH ROESSLER
Working with Access Tables A Continuation
Working with Access Tables A Continuation This document provides basic techniques for working with tables in Microsoft Access by setting field properties, creating reference tables, sorting and filtering
Getting Started with Excel 2008. Table of Contents
Table of Contents Elements of An Excel Document... 2 Resizing and Hiding Columns and Rows... 3 Using Panes to Create Spreadsheet Headers... 3 Using the AutoFill Command... 4 Using AutoFill for Sequences...
Microsoft Using an Existing Database Amarillo College Revision Date: July 30, 2008
Microsoft Amarillo College Revision Date: July 30, 2008 Table of Contents GENERAL INFORMATION... 1 TERMINOLOGY... 1 ADVANTAGES OF USING A DATABASE... 2 A DATABASE SHOULD CONTAIN:... 3 A DATABASE SHOULD
Merging Labels, Letters, and Envelopes Word 2013
Merging Labels, Letters, and Envelopes Word 2013 Merging... 1 Types of Merges... 1 The Merging Process... 2 Labels - A Page of the Same... 2 Labels - A Blank Page... 3 Creating Custom Labels... 3 Merged
Staying Organized with the Outlook Journal
CHAPTER Staying Organized with the Outlook Journal In this chapter Using Outlook s Journal 362 Working with the Journal Folder 364 Setting Up Automatic Email Journaling 367 Using Journal s Other Tracking
Tabs3, PracticeMaster, and the pinwheel symbol ( trademarks of Software Technology, Inc. Portions copyright Microsoft Corporation
Tabs3 Trust Accounting Software Reseller/User Tutorial Version 16 for November 2011 Sample Data Copyright 1983-2013 Software Technology, Inc. 1621 Cushman Drive Lincoln, NE 68512 (402) 423-1440 http://www.tabs3.com
MS Excel as a Database
Centre for Learning and Academic Development (CLAD) Technology Skills Development Team MS Excel as a Database http://intranet.birmingham.ac.uk/itskills Using MS Excel as a Database (XL2103) Author: Sonia
MS Access Lab 2. Topic: Tables
MS Access Lab 2 Topic: Tables Summary Introduction: Tables, Start to build a new database Creating Tables: Datasheet View, Design View Working with Data: Sorting, Filtering Help on Tables Introduction
ICP Data Validation and Aggregation Module Training document. HHC Data Validation and Aggregation Module Training Document
HHC Data Validation and Aggregation Module Training Document Contents 1. Introduction... 4 1.1 About this Guide... 4 1.2 Scope... 4 2. Steps for Testing HHC Data Validation and Aggregation Module.. Error!
Converting an Excel Spreadsheet Into an Access Database
Converting an Excel Spreadsheet Into an Access Database Tracey L. Fisher Personal Computer and Software Instructor Butler County Community College - Adult and Community Education Exceeding Your Expectations..
Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick Reference Guide
Open Crystal Reports From the Windows Start menu choose Programs and then Crystal Reports. Creating a Blank Report Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick
To reuse a template that you ve recently used, click Recent Templates, click the template that you want, and then click Create.
What is Excel? Applies to: Excel 2010 Excel is a spreadsheet program in the Microsoft Office system. You can use Excel to create and format workbooks (a collection of spreadsheets) in order to analyze
Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint 2013. InfoPath 2013 Web Enabled (Browser) forms
Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint 2013. InfoPath 2013 Web Enabled (Browser) forms InfoPath 2013 Web Enabled (Browser) forms Creating Web Enabled
What is a Mail Merge?
NDUS Training and Documentation What is a Mail Merge? A mail merge is generally used to personalize form letters, to produce mailing labels and for mass mailings. A mail merge can be very helpful if you
