Professional Documents
Culture Documents
DBMS
Files :
Advantages of Database
Entity
Existence
Physical Conceptual
House, Course,
Person Job
Attributes
Attributes:
Properties that describe entities.
Types of Attributes.
Types of Attributes:
Composite
Attribute Compose of two attributes
Unique
Attribute Unique key (P.K,F.K)
Multi valued
Attribute
A attribute having multiple value
Types of Attributes:
Single value
Attribute
Attribute having Single value age
Null Values
Unknown Values ,Missing
Values
Entity Type:
A single student is a single entity but there are lot of students with same attribute are known as
entity type
1. Unary relationship
2. Binary Relationship
3. Ternary Relationship
Relationship Constraint:
1. Cardinality Ratio
Max. number of relationship that an entity can participate in.
Possible cardinality ratios of a binary relationship is:
1:1 , 1:N , N:1 , M:N
Cardinality Ratio :
Cardinality Ratio :
Relationship Constraint:
Participate Constraint
Specifies whether existence of an entity depend on its or being related to another entity.
Types
Total Partial
Participatio Participatio
n n
Participate Constraint :