Microsoft Office XP Illustrated Introductory, Enhanced Tables and Queries Using.

Slides:



Advertisements
Similar presentations
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Advertisements

Microsoft Office Illustrated Building and Using Queries.
Computer Concepts BASICS 4th Edition
Benchmark Series Microsoft Access 2010 Level 1
Access Lesson 2 Creating a Database
Access Tutorial 3 Maintaining and Querying a Database
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 3 1 Microsoft Office Access 2003 Tutorial 3 – Querying a Database.
Querying a Database Microsoft Office Access 2003.
Access Tutorial 3 Maintaining and Querying a Database
MS Access: Database Concepts Instructor: Vicki Weidler.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory.
Maintaining and Querying a Database Microsoft Access 2010.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
1 Microsoft Access 2002 Tutorial 3 – Querying a Database.
Introduction to Access By Mary Ann Chaney and Alicia Harkleroad.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 4 – Creating New.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
1 Lesson 22 Getting Started with Access Essentials Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
Building and Using Queries. Objectives Use the Query WizardUse the Query Wizard Work with data in a queryWork with data in a query Use Query Design ViewUse.
Microsoft Access 2010 Building and Using Queries.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 6 – Designing.
CHƯƠNG 3 Finding, Filtering, and Formatting Data.
Lesson 2.  To help ensure accurate data, rules that check entries against specified values can be applied to a field. A validation rule is applied to.
Lesson 17 Getting Started with Access Essentials
1 By: Nour Hilal. Microsoft Access is a database software where data is stored in one or more Tables. A Database is a group of related Tables. Access.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
XP 1 Microsoft Access 2003 Introduction To Microsoft Access 2003.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Key Applications Module Lesson 21 — Access Essentials
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 23 Getting Started with Access Essentials 1 Morrison / Wells / Ruffolo.
Microsoft Access Illustrated Unit B: Building and Using Queries.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
SESSION 3.1 This section covers using the query window in design view to create a query and sorting & filtering data while in a datasheet view. Microsoft.
Microsoft Office Illustrated Introductory, Premium Edition Using Tables and Queries.
® Microsoft Access 2010 Tutorial 3 Maintaining and Querying a Database.
Unit 5, Lesson 1 Working with Databases. Objectives Identify the parts of the Access screen. Identify the parts of the Access screen. Understand the purpose.
COMPREHENSIVE Access Tutorial 3 Maintaining and Querying a Database.
Microsoft Access. Microsoft access is a database programs that allows you to store retrieve, analyze and print information. Companies use databases for.
® Microsoft Office 2013 Access Maintaining and Querying a Database.
ACCESS Part 2. OBJECTIVE  Use the Query Wizard.  Work with data in a query.  Use Query Design View.  Sort and find data.  Filter data Apply AND criteria.
1/62 Introduction to and Using MS Access Database Management and Analysis Yunho Song.
Microsoft Office 2010 for Medical Professionals - Illustrated Access 2010 Unit B: Building and Using Queries.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 2 Modifying a Table and Creating.
Chapter 6 Creating, Sorting, and Querying a Table
XP New Perspectives on Microsoft Access 2002 Tutorial 31 Microsoft Access 2002 Tutorial 3 – Querying a Database.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Microsoft Access Database Creation and Management.
Excel part 5 Working with Excel Tables, PivotTables, and PivotCharts.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 1 Microsoft Office Access 2003 Tutorial 5 – Enhancing a Table’s Design.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 2 ® Building Queries.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
Microsoft Office Access 2010 Lab 1
Microsoft Office Access 2010 Lab 2
Microsoft Office Illustrated Introductory, Windows Vista Edition
Access Tutorial 3 Maintaining and Querying a Database
Find and Replace Used to quickly find and/or replace data quickly
Microsoft Access 2003 Illustrated Complete
Building and Using Queries
Microsoft Office Access 2003
Tutorial 3 – Querying a Database
Microsoft Office Access 2003
Microsoft Office Access 2003
Spreadsheets, Modelling & Databases
Microsoft Office Access is the best –selling personal computer database management system. What is Access?
Microsoft Office Illustrated Introductory, Windows XP Edition
Assignment 3 Querying and Maintaining a Database
Presentation transcript:

Microsoft Office XP Illustrated Introductory, Enhanced Tables and Queries Using

2Using Tables and Queries Unit B  Plan a database  Create a table  Modify a table  Format a datasheet  Understand sorting, filtering, and finding Objectives

3Using Tables and Queries Unit B  Sort records and find data  Filter records  Create a query  Modify a query Objectives

4Using Tables and Queries Unit B Planning a Database  The most important object in a database is the table object. –Tables store the raw data, the individual pieces of information stored in fields When designing a table, the fields of information and the type of data are identifiedWhen designing a table, the fields of information and the type of data are identified Some databases have multiple tables linked togetherSome databases have multiple tables linked together

5Using Tables and Queries Unit B Planning a Database (cont.)  Important planning items. –Determine purpose of database –Determine what reports need to be produced –Collect raw data –Sketch the structure of each table The data type determines what type of information you can enter in a fieldThe data type determines what type of information you can enter in a field

6Using Tables and Queries Unit B Planning a Database (cont.) Data types

7Using Tables and Queries Unit B Planning a Database (cont.) Example of a database structure

8Using Tables and Queries Unit B Planning a Database (cont.)  Choosing between the Text and Number data type. –Avoid selecting the Number data type for a telephone number or zip code field Use the Text data typeUse the Text data type Enter a phone number with letters, such as a 800 numberEnter a phone number with letters, such as a 800 number Able to sort zip codes alphabeticallyAble to sort zip codes alphabetically

9Using Tables and Queries Unit B Creating a Table  Methods for creating a table. –Import a table from another data source, such as a spreadsheet –Use the Table Wizard to create a table from scratch Provides interactive steps to create field names and data typesProvides interactive steps to create field names and data types Sample tables Sample fields

10Using Tables and Queries Unit B Creating a Table (cont.) Key symbol, which identifies a primary key A primary key is a special field that has unique information

11Using Tables and Queries Unit B Modifying a Table  Each database object has a Design View to modify its structure. –In the Design view of a table, you can add or delete fields, change field properties, and add field descriptions –Field properties are additional characteristics of a field such as its size or default value

12Using Tables and Queries Unit B Modifying a Table (cont.) Data type column Field description Symbol identifies selected field Field Properties pane

13Using Tables and Queries Unit B Modifying a Table (cont.)  Learning about field properties. –Properties are the characteristics that define the field –Two properties are required for each field: Field Name and Data Type Other properties include: Field Size, Format, Caption, and Default ValueOther properties include: Field Size, Format, Caption, and Default Value –Adding more properties to a field restricts the type and amount of data which increases data entry accuracy

14Using Tables and Queries Unit B Modifying a Table (cont.)  Learning about field properties (cont.) –The Caption property is used to override the field names with an easy- to-read caption on datasheets, forms, and reports –Access Wizards create tables that have field names without spaces

15Using Tables and Queries Unit B Formatting a Datasheet  Dramatically change the appearance of a datasheet. –Change fonts, colors, and gridlines Formatted table

16Using Tables and Queries Unit B Understanding Sorting, Filtering, and Finding  Datasheet records are automatically sorted according to the data in the primary key field. –Sorting is reorganizing records in either an ascending or descending order based on the contents of a field –Filtering is temporarily isolating a subset of records –Finding is locating a specific piece of data

17Using Tables and Queries Unit B Understanding Sorting, Filtering, and Finding (cont.) Sort, Filter, and Find buttons

18Using Tables and Queries Unit B Understanding Sorting, Filtering, and Finding (cont.) Records sorted in ascending order

19Using Tables and Queries Unit B Understanding Sorting, Filtering, and Finding (cont.) Sort Ascending button Sort Descending button Apply Filter or Remove Filter button Filtered by Rock category

20Using Tables and Queries Unit B Understanding Sorting, Filtering, and Finding (cont.)  Using wildcards. –Wildcards are symbols you use a substitutes for characters to locate data that matches your Find criteria –Wildcards include: The asterisk (*) represents any group of charactersThe asterisk (*) represents any group of characters The question mark (?) represents any single characterThe question mark (?) represents any single character The pound sign (#) represents a single digitThe pound sign (#) represents a single digit

21Using Tables and Queries Unit B Sorting Records and Finding Data Records are sorted in ascending order by title

22Using Tables and Queries Unit B Sorting Records and Finding Data (cont.) Search criteria Find the search criteria anywhere in the field Search direction

23Using Tables and Queries Unit B Sorting Records and Finding Data (cont.)  Using more than one sort field. –Primary sort field (last name) –Secondary sort field is used to further sort records when there is a tie in the primary sort field For example, two of the same last name (Smith)For example, two of the same last name (Smith) –Queries allow you to sort by more than one field

24Using Tables and Queries Unit B Filtering Records  Filtering the datasheet temporarily displays only those records that match criteria. –Criteria are rules limiting conditions you set –To filter for comparative data and to specify more complex criteria you must use the Filter By Form feature A comparison operator: equal to or greater thanA comparison operator: equal to or greater than

25Using Tables and Queries Unit B Filtering Records (cont.) Comparison operators

26Using Tables and Queries Unit B Filtering Records (cont.) Both records match the criteria Filter By Form button Filter By Selection button

27Using Tables and Queries Unit B Filtering Records (cont.)  Searching for blank fields. –The Is Null criteria will find all records where no entry has been made in the field –The Is Not Null criteria will find all records where there is any entry in the field, even if the entry is 0 –Primary key fields cannot have a null entry

28Using Tables and Queries Unit B Creating a Query  A query is a database object that creates a datasheet of specified fields and records from one or more tables. –A query is like a filter but can be saved as a separate object unlike a filter –A query answers a question about the data in your database –A query is sometimes called a logical view of the data

29Using Tables and Queries Unit B Creating a Query (cont.)  Editing data in a query. –Changes the data in the underlying table just as if you were working directly in the table’s datasheet. –A query does not produce a duplicate set of data –A query displays the original table’s data in a new arrangement

30Using Tables and Queries Unit B Creating a Query (cont.) Design View button Query datasheet

31Using Tables and Queries Unit B Creating a Query (cont.) Datasheet View button Field list for query Query design grid Criteria cell for Category field

32Using Tables and Queries Unit B Creating a Query (cont.) Queries vs. filters

33Using Tables and Queries Unit B Modifying a Query  Use Query Design View to modify a query. –Define complex criteria, define multiple sort orders, and build calculation fields –To add fields to the query, drag the field from the filed list to the open position in the query design grid –Sort orders are evaluated from left to right

34Using Tables and Queries Unit B Modifying a Query (cont.) Drag fields from the Field list… …and drop them in the query design grid

35Using Tables and Queries Unit B Modifying a Query (cont.)  Understanding And and Or criteria. –Criteria placed on different rows of the query design grid are Or criteria A record may be true for either row of criteriaA record may be true for either row of criteria –Additional criteria in the same row in the query design grid is And criteria Records must meet the criteria for all of the criteria on one rowRecords must meet the criteria for all of the criteria on one row