Professional Documents
Culture Documents
Databases
and Data
Warehouses
Database Models
Database model: general logical structure
How records stored in the database
How relationships between records are
established
Database models differ in:
How records are linked to each other
How users can navigate the database,
retrieve records, and create records
Relational Operations
Relational operation: creates a temporary subset of a
table or tables
Used to create a limited list or a joined table list
Three important relational operations:
Select: a selection of records based on conditions
Project: a selection of certain columns from a table
Join: join data from multiple tables to create a temporary
table
SQL in MS Access
Data Modeling
Databases must be carefully planned and
designed to meet business goals
Data modeling: analysis of an organizations
data and identification of the data relationships
A proactive process
Develops a conceptual blueprint of the database
Entity relationship diagram: a graphical
representation of all entity relationships
Chen Notation
Crows Foot Notation
Database Background
Entity could be a :
(ex. Teacher, Student, Physician)
Perso
n
Place
Object
Event
Idea or Concept
33
Relationship
Cardinality
Degree of Relationship
Attribute
Refers to the characteristic or basic fact or
field of an Entity or Relationship.
For example a Student entity could have
the following attributes ID Number, Last
Name, First Name, Address, Birth Date etc.
A relationship could also have an attribute
for example an Entity name Student
enrolls (relationship) to a
Course/Program. Now, when you enroll
you enroll on a certain date so you will
have an attribute of Enrollment Date
under Enroll relationship.
It is normally represented by an oval.
Data Warehousing