Download presentation
Presentation is loading. Please wait.
1
Data Model Basic Building Blocks
2
Basic Building Blocks of Data
Entity Is anything (a person, a place, a thing, or an event) Represents a particular type of object in the real world. Example. A CUSTOMER entity would have many distinguishable customer occurrences, such John Smith, Pedro Dinamita, Etc.
3
Attribute Is a characteristic of an entity.
Are the equivalent of fields in file systems. Example. A CUSTOMER entity would be described by attributes such as customer last name, first name, phone, address, and credit limit.
4
Relationship Describes an association among entities. Example.
A relationship exist between customers and agents that can be described as follows: An agent can serve many customers, and each customer may be served by one agent.
5
Three types of Relationship
One-to-many Many-to-many One-to-one
6
Constraint Is a restriction place on data.
Constraint are important because they help to ensure data integrity. Constraint are normally expressed in the form of rules.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.