WEEK 11 Database Design. Agenda Hybrid Review Create Tables Add, Edit Data Create Relationships in MS Access 2010 Queries.

Slides:



Advertisements
Similar presentations
Databases Section 4: Select Queries Presented By: Lindani Ncube Based on Materials by: M Halse.
Advertisements

Database Design Week 10.
© 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 10 – Designing.
Start First step Create a new blank database Create a database using the option that will enable you to build your database using pre-set options. Save.
Create a new blank database First step SUBMITTry again.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
Querying a Database Using the Select Query Window
Mark Dixon Page 1 02 – Queries: Query by Example.
Build a database IV: Create queries for a new Access database Overview: Ask your data — create queries It’s time to create queries, one of the most powerful.
Microsoft Access 2010 Chapter 7 Using SQL.
© 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 3 – Finding, Filtering,
CORE 2: Information systems and Databases STORAGE & RETRIEVAL 2 : SEARCHING, SELECTING & SORTING.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory.
DAY 16: ACCESS CHAPTER 2 Tazin Afrin October 10,
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
Lesson 31: Querying a Database. 2 Learning Objectives After studying this lesson, you will be able to:  Create, save, and run select queries  Design.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall1 Exploring Microsoft Office Access Committed to Shaping the Next Generation.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
Excel Projects 5 & 6 Notes Mr. Ursone. Excel Project 5: Sorting a List  Sorting: Arranging records in a specific sequence  The Sort command is on the.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
 Continue queries ◦ You completed two tutorials with step-by-step instructions for creating queries in MS Access. ◦ Now must apply knowledge and skills.
10 May Microsoft Access 2010 Relational databases’ program Part of the Microsoft Office package Administer relational database Update database through.
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.
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.
Microsoft ® Access ® 2010 Training Create Queries for a New Database If a yellow security bar appears at the top of the screen in PowerPoint, click Enable.
WEEK 11 Database Design. TABLE INSTANCE CHARTS Create Tables.
DAY 22: MICROSOFT ACCESS – REVIEW Akhila Kondai November 04, 2013.
 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.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Microsoft Office Illustrated Introductory, Premium Edition Using Tables and Queries.
Performing Calculations—1 of 2 In addition to using queries to retrieve, update, sort, and filter data in a database, you can use a query to perform calculations.
26 Mar 04 1 Application Software Practical 5/6 MS Access.
Microsoft Office XP Illustrated Introductory, Enhanced Tables and Queries Using.
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.
Access Forms and Queries. Entering Data in Your Table  You can add data to your table in Datasheet view, by typing in the columns and rows.  This.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
Database Applications – Microsoft Access Lesson 4 Working with Queries 36 Slides in Presentation.
Microsoft Office 2003: Advanced 1 ADVANCED MICROSOFT ACCESS Lesson 10 – Analyzing Data.
ACCESS (CHAPTER 2-3 continued) Naman Kohli October 16,
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric.
Microsoft Office 2013: In Practice Chapter 3 Creating and Using Queries Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
1 MS Access. 2 Database – collection of related data Relational Database Management System (RDBMS) – software that uses related data stored in different.
IS201 Agenda: 09/19  Modify contents of the database.  Discuss queries: Turning data stored in a database into information for decision making.  Create.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
SQL SELECT Getting Data from the Database. Basic Format SELECT, FROM WHERE (=, >, LIKE, IN) ORDER BY ; SELECT LastName, FirstName, Phone, City FROM Customer.
Microsoft Access 2000 Presentation 5 Creating Databases Part IV (Creating Queries)
DAY 18: MICROSOFT ACCESS – CHAPTER 3 CONTD. Akhila Kondai October 21, 2013.
Querying Databases A query is a program that allows us to VIEW the data or operate on the data Several types of queries –Select query –Merge query –Summary.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 1 Microsoft Office Access 2003 Tutorial 5 – Enhancing a Table’s Design.
A am going to create a table in design view. I am going to create a table in an Access database that contains information about the books that I have on.
Filters, Queries and Reports. Filters Limit the data, creating a dataset, or partial view of the whole database Single use – filters do not save with.
Lesson 4: Querying a Database. 2 Learning Objectives After studying this lesson, you will be able to:  Create, save, and run select queries  Set query.
Creating Advanced Queries and Enhancing Table Design.
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.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
Relational Databases Today we will look at: Different ways of searching a database Creating queries Aggregate Queries More complex queries involving different.
Microsoft Office Illustrated Introductory, Windows Vista Edition
Objectives Query for top values Create a parameter query
Larry Reaves October 9, 2013 Day 16: Access Chapter 2 Larry Reaves October 9, 2013.
Microsoft Access 2003 Illustrated Complete
Building and Using Queries
MS Access: Querying Tables
Microsoft Office Access 2003
Microsoft Office Illustrated Introductory, Windows XP Edition
Shelly Cashman: Microsoft Access 2016
Presentation transcript:

WEEK 11 Database Design

Agenda Hybrid Review Create Tables Add, Edit Data Create Relationships in MS Access 2010 Queries

CREATE TABLES

Create Tables For the tables for the sample in the Wk10_TableInstanceChart.xlsx

Table Design View Exercise: ◦ Create table for gender

Datasheet View Exercise: ◦ Add data to the gender table

Table Design View Exercise: ◦ Create Ribbon > Table Design in the Tables grouping ◦ Identify your own PK ◦ Moving the order of the rows

Create Table with Lookups Exercise: ◦ Add data to the city entity using a look up wizard as the data type for the province

Add Data to an Entity Based on another entity ◦ Exercise:  Create the students table (studentID, fname, lname and gender fields only)

Edit an Entity Exercise: ◦ Complete the Students table ◦ Go back and look at your default value (note it was not added to previous records entered)

Edit Data in Datasheet View Exercise: ◦ Go back and add the age group and city for each of the students previously entered Datasheet view ◦ Record count ◦ Add a new record ◦ Search for a record ◦ Sort the records

CREATE RELATIONSHIPS

Create Relationships Database Tools ribbon > relationships grouping Exercise: ◦ How to Edit a relationship ◦ How to Create a relationship

Want More Information Visit the following site.

QUERIES

Northwind Database

Single Table Queries Select fields to display Sort by? Simple Conditions ◦ When you enter text into the criteria cell your text should be enclosed in quotes ("") to distinguish it from other expressions and operators that you may need to add.

WORKING WITH TEXT

Matching Text

OR Statement

IN Statement

NOT Statement

NOT IN Statement

Using Wildcards Wildcard is a special character that can stand for either a single character or a string of text

LIKE “Text*” Statement

LIKE “*Text” Statement

LIKE “[letter-letter]*” Statement

WORKING WITH NUMBERS

Working with Numbers For example, where X represents a number: <X finds values less than X. >X finds vales greater than X >=X finds values greater than or equal to X <>X finds vales not equal to X

WORKING WITH DATES

Working with Dates Ensure the criteria cell is type Date/Time Each date must be enclosed by hash marks (#). For example: ◦ <#1/1/98# ◦ finds dates earlier than 1 January 1998

Working with Dates For example: ◦ =#27-Sep-50# ◦ finds dates equal to 27 September 1950

Working with Dates For example: ◦ Between #5/7/98# And #10/7/98# ◦ finds dates no earlier than 5 July 1998 and no later than 10 July 1998

FINDING EMPTY FIELDS

Finding Empty Fields Use the expression Is Null. Conversely, Is Not Null. The expression Null simply means "nothing".

Hybrid / Homework Read Calculating in Access QueriesCalculating in Access Queries Read Calculating Totals in AccessCalculating Totals in Access Read Working out Someone’s AgeWorking out Someone’s Age Watch Multi-Table Queries Part 1 & 212 Database Assignment Part 2

Quiz Time