Download Chapter 3 Slide 4 - McGraw Hill Higher Education

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Microsoft Jet Database Engine wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Concurrency control wikipedia , lookup

Clusterpoint wikipedia , lookup

Database wikipedia , lookup

ContactPoint wikipedia , lookup

Relational model wikipedia , lookup

Database model wikipedia , lookup

Transcript
Chapter 3
The Relational Database Model
Back
Return to Main Presentation
3-1
Management Information Systems
for the Information Age
MAP
Next
Copyright 2002
The McGraw-Hill Companies, Inc.
All rights reserved
Structure and Organize Data
The Relational Database Model
The relational database model
Let us take a look at some important terminology:
Database
A collection of information that you organize and access
according to the logical structure of that information.
You can think of a database as a group of data that is
organized into the logical structure of the business
information.
Back
Return to Main Presentation
3-2
Management Information Systems
for the Information Age
MAP
Next
Copyright 2002
The McGraw-Hill Companies, Inc.
All rights reserved
Structure and Organize Data
The Relational Database Model
The relational database model
Continue with terminology:
Relational database model
uses a series of logically related two-dimensional tables
(called relations) or files to store information in the form
of a database.
Note that a relational table contains a group of related data.
Back
Return to Main Presentation
3-3
Management Information Systems
for the Information Age
MAP
Next
Copyright 2002
The McGraw-Hill Companies, Inc.
All rights reserved
Structure and Organize Data
The Relational Database Model
The relational database model
Continue with terminology:
Relation
describes each two-dimensional table or file in the
relational model.
The word relation here is in reference to the collection of
the data within one specific table.
Back
Return to Main Presentation
3-4
Management Information Systems
for the Information Age
MAP
Next
Copyright 2002
The McGraw-Hill Companies, Inc.
All rights reserved
Structure and Organize Data
The Relational Database Model
The relational database model
By carefully examining the definition given to
“relational databases” we can clearly identify
two parts to it:
1.
2.
Information – stored in a series of two
dimensional tables, files, or relations.
Logical structure of the information.
Back
Return to Main Presentation
3-5
Management Information Systems
for the Information Age
MAP
Next
Copyright 2002
The McGraw-Hill Companies, Inc.
All rights reserved
Structure and Organize Data
The Relational Database Model
The relational database model
Figure 3.2
A Portion of an
Inventory
Database and Data
Dictionary
page 81
Back
Return to Main Presentation
3-6
Management Information Systems
for the Information Age
MAP
Next
Copyright 2002
The McGraw-Hill Companies, Inc.
All rights reserved
Structure and Organize Data
The Relational Database Model
The relational database model
In using the relational database model three
distinct characteristics are important to
understand:
1.
2.
3.
Collection of data = Information, hence
logical structure
Logical ties
Integrity constraints
Back
Return to Main Presentation
3-7
Management Information Systems
for the Information Age
MAP
Next
Copyright 2002
The McGraw-Hill Companies, Inc.
All rights reserved
Structure and Organize Data
The Relational Database Model
The relational database model
Collection of data = Information,
hence logical structure
1.
2.
Information important to the business is identified
(ex. Orders, facility, suppliers, parts…).
Data that is related to each other and
contained/constitutes the information needs to be
identified.
Back
Return to Main Presentation
3-8
Management Information Systems
for the Information Age
MAP
Next
Copyright 2002
The McGraw-Hill Companies, Inc.
All rights reserved
Structure and Organize Data
The Relational Database Model
The relational database model

To identify the and information into its
logical structures you need to create a
data dictionary.

Data dictionary - contains the logical
structure for the information.
Back
Return to Main Presentation
3-9
Management Information Systems
for the Information Age
MAP
Next
Copyright 2002
The McGraw-Hill Companies, Inc.
All rights reserved
Structure and Organize Data
The Relational Database Model
The relational database model
Figure 3.2
A Portion of an
Inventory Database
and Data Dictionary
page 81
Back
Return to Main Presentation
3-10
Management Information Systems
for the Information Age
MAP
Next
Copyright 2002
The McGraw-Hill Companies, Inc.
All rights reserved
Structure and Organize Data
The Relational Database Model
The relational database model



Once data and information has been put in a
logical structure, the information contained in
the database requires to be related to each
other.
An example would be relating the customer
information to the order information.
This is done using primary and foreign keys.
Back
Return to Main Presentation
3-11
Management Information Systems
for the Information Age
MAP
Next
Copyright 2002
The McGraw-Hill Companies, Inc.
All rights reserved
Structure and Organize Data
The Relational Database Model
The relational database model

Primary key - a field/data (or group of
fields in some cases) that uniquely
describes each record.

Foreign key - a field/data that is a primary
key in another file.
Back
Return to Main Presentation
3-12
Management Information Systems
for the Information Age
MAP
Next
Copyright 2002
The McGraw-Hill Companies, Inc.
All rights reserved
Structure and Organize Data
The Relational Database Model
The relational database model
Figure 3.2
A Portion of an Inventory
Database and Data
Dictionary
page 81
Back
Return to Main Presentation
3-13
Management Information Systems
for the Information Age
MAP
Next
Copyright 2002
The McGraw-Hill Companies, Inc.
All rights reserved
Structure and Organize Data
The Relational Database Model
The relational database model
Team Work

Integrity
constraints – rules
that help ensure the
quality of the
information.
Primary Keys,
Foreign Keys, and
Integrity Constraints
(p. 84)
Back
Return to Main Presentation
3-14
Management Information Systems
for the Information Age
MAP
Next
Copyright 2002
The McGraw-Hill Companies, Inc.
All rights reserved