Lesson 2 Flashcards
Elements of Database Approach
- Data models
- Entities
- Relationships
- Relational Database
Graphical system capturing nature
and relationship of data. (Enterprise
& Project Data Model)
Data Models
High-level entities and relationships for the organization.
Customer
l
l (Places)
V (Is placed by)
Order
l (Contains)
l
V (Is contained by)
Product
Enterprise Data Model
More detailed view, matching data structure in database or data warehouse.
Customer (Customer ID) Product Id
l ^
V l
Order (Order ID, CID, OD) –> Order Line
Project Data Model
● Noun form describing a person,
place, object, event, or concept
● Composed of attributes.
Entities
It is a characteristic that
describes that entity.
Attribute
● Between Entities
● Usually one-to-many (1:M) or
many-to-many (M:N)
Relationships
Database technology involving:
1. Tables (relations)
2. Primary/foreign keys
Relational Databases
representing entities.
Tables (relations)
representing relationships.
Primary/foreign keys