Professional Documents
Culture Documents
Alevel 1 Dbms 07apr2020 Av
Alevel 1 Dbms 07apr2020 Av
A A R B
R
A B
B
C
R
A R C D
E
Prepared By
National Institute of Electronics & Information Technology (NIELIT), Gorakhpur
राष्ट्रीय इलेक्ट्रॉनिकी एवं सूचिा प्रौद्योनगकी संस्थाि ,गोरखपुर
A B
1:1 (One to One)
A B
1:N (One to Many)
a1 b1
An entity in A is associated with any number of
entity in B and an entity in B however can be a2 b2
associated with at most one entity in A, it is
called 1:N mapping cardinality or a3 b3
cardinality ratio.
a4 b4
Entity set A (a1, a2, a3, a4, …)
b5
Entity set B (b1, b2, b3, b4, b5, …)
A B
N:1 (Many to One)
a1 b1
An entity in A is associated with at most one
entity in B, and an entity in B however can be a2 b2
associated with any number of entity in A, it is
called N:1 mapping cardinality or a3 b3
cardinality ratio.
a4 b4
Entity set A (a1, a2, a3, a4, …)
b5
Entity set B (b1, b2, b3, b4, b5, …)
Prepared By
National Institute of Electronics & Information Technology (NIELIT), Gorakhpur
राष्ट्रीय इलेक्ट्रॉनिकी एवं सूचिा प्रौद्योनगकी संस्थाि ,गोरखपुर
A B
N:M (Many to Many)
--------------------------------------------------------------------------------------------------------------------------
Exercise:
Prepared By