Professional Documents
Culture Documents
BA Lecture 4 - Transaction Processing Schemas
BA Lecture 4 - Transaction Processing Schemas
BA Lecture 4 - Transaction Processing Schemas
ER Model
Composite
One-to-many
Attribute
Multi-valued
Many-to-one
Attribute
Derived
Many-to-many
Attribute
• Weak entity:
• that depends on another entity;
• doesn’t have any key attribute of its own;
• Represented by a double rectangle
Loan Installment
Name ID
Student
Phone
No.
Age
Student
Phone
No.
Age
1 1
Works
Employee for
Department
1 M
Department Has Employee
• Facts
• Numerical measures by which we want to analyze the
relationships between dimensions
• Total (sales in Rs.), Quantity (units sold), Discounts (in Rs.)
• Dimensions
• An entity with respect to which an organization wants to
keep records
• A department store might want to keep records of the store
sales with respect to “time”, “customer”, “product”,
“employee”
• Each dimension has an associated dimension table