introduction to databases day 2

9
Introduction to Databases Day 2 SRT II Mr. Davis Fall 2011

Upload: amena

Post on 07-Feb-2016

24 views

Category:

Documents


0 download

DESCRIPTION

Introduction to Databases Day 2. SRT II Mr. Davis Fall 2011. Objective. SWBAT…. Design a normalized sales tracking database by expanding the contact database built in Day 1. Day 2. Build on the Customer DB Now we need to add sales information Where to start?. Order Tracking DB. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Introduction to Databases Day 2

Introduction to Databases

Day 2

SRT IIMr. DavisFall 2011

Page 2: Introduction to Databases Day 2

Objective

SWBAT….Design a normalized sales tracking database by expanding the contact database built in Day 1.

Page 3: Introduction to Databases Day 2

Day 2

• Build on the Customer DB

• Now we need to add sales information

• Where to start?

Page 4: Introduction to Databases Day 2

Order Tracking DB

• Planning– Fields to include

• How do fields relate?– Establishing relationships

Page 5: Introduction to Databases Day 2

Order Tracking DB

• Now we can start to ask interesting questions!

• Query design

Page 6: Introduction to Databases Day 2

Order Tracking DB

• What about entering the information?– Designing a data-entry form

Page 7: Introduction to Databases Day 2

Extras

• How do we prevent bad data from getting into tables in the first place?– Input mask– Validation rule

• Add validation rules to email, ZIP code, and state fields

Page 8: Introduction to Databases Day 2

Sample data

• Checking your structure can be difficult– Import existing ‘real’ data– Generate ‘dummy’ data

• For sample data– Free data generator– Customize fields, types of data –

experiment!

Page 9: Introduction to Databases Day 2

MS Access Assignment

• Design an experiment-tracking DB• Requirements– Tables for

• Researchers• Test performed (at least 5 different tests)• Results

– Data entry forms• New researcher• Test results

– Populate the DB with sample data– Save in H: drive, SRT II Turn-in folder; YourName_ResearchDB.accdb

• Due at the end of next class