ERD Examples
June 4, 2016 | Author: Jezrelle Dc | Category: N/A
Short Description
ERD examples...
Description
The (min,max) notation (0,1)
(1,1)
(1,1)
(1,N)
SUMMARY OF ER-DIAGRAM NOTATION FOR ER SCHEMAS S&$'
Meaning ENTITY TYPE WEAK ENTITY TYPE RELATIONSHIP TYPE IDENTIFYING RELATIONSHIP TYPE ATTRIBUTE KEY ATTRIBUTE MULTIALUED ATTRIBUTE !OMPOSITE ATTRIBUTE DERIED ATTRIBUTE
E1 E1
E"
R R R
N ($in,$a%)
E" E
TOTAL PARTI!IPATION OF E" IN R !ARDINALITY RATIO 1#N FOR E 1#E" IN R STRU!TURAL !ONSTRAINT ($in, $a%) ON PARTI!IPATION OF E IN R
ER DIAGRAM – Entity Types are: EMPLOYEE DEPARTMENT PRO!ECT DEPENDENT
!OMPANY ER S*+e$a Diaga$ -.ing ($in, $a%) n/a/in
De.igning an ER Diaga$ !n.ie /+e 2ing .e/ e3-ie$en/. a Uni4e.i/& a/a'a.e5 De.ign an ER iaga$ /+i. a66i*a/in# 7
7 7 7
7
T+e -ni4e.i/& 8ee6. /a*8 ea*+ ./-en/9. na$e, ./-en/ n-$'e, .*ia .e*-i/& n-$'e, *-en/ ae.. an 6+ne n-$'e, 6e$anen/ ae.. an 6+ne n-$'e, 'i/+a/e, .e%, *a.. (e.+$an, ga-a/e), $a: e6a/$en/, $in e6a/$en/ (i an&), egee 6ga$ (B5A5, B5S5, 555 P+5D5)5 S$e -.e a66i*a/in. nee / ee / /+e *i/&, ./a/e, an ;i6 *e /+e ./-en/9. 6e$anen/ ae.. an / /+e ./-en/9. a./ na$e5 B/+ .*ia .e*-i/& n-$'e an ./-en/ n-$'e ae -ni3-e ea*+ ./-en/5 A ./-en/. 2i +a4e a/ ea./ a $a: e6a/$en/5 Ea*+ e6a/$en/ i. e.*i'e '& a na$e, e6a/$en/ *e, i*e n-$'e, i*e 6+ne, an *ege5 B/+ /+e na$e an *e +a4e -ni3-e 4a-e. ea*+ e6a/$en/5 Ea*+ *-.e +a. a *-.e na$e, e.*i6/in, *-.e n-$'e, n-$'e *ei/., e4e an eing e6a/$en/5 T+e *-.e n-$'e i. -ni3-e ea*+ *-.e5 Ea*+ .e*/in +a. an in./-*/, .e$e./e, &ea, *-.e, an .e*/in n-$'e5 T+e .e*/in n-$'e i./ing-i.+e. .e*/in. /+e .a$e *-.e /+a/ ae /a-g+/ -ing /+e .a$e .e$e./e, ?) ea*+ ./-en/ an *a*-a/e. +i. +e a4eage GPA5
Uni4e.i/& ER Diaga$ Degee Na$e
S/-en/ID
Bi/+ a/e
SSN
DNa$e
Oi*eN-$'e
Oi*eP+ne
De6a/$en/
S/-en/
Se%
D!e
Ma: In
!ege !a..
Min In
Ae.. !i/&
S/a/e
@i6
Oe
!Na$e GaeRe6/ Le//e Gae
!-.eDe.* In./-*/
Yea
!-.e !N-$'e
GPA !ei/.
Se*/in
N-$ei* Gae
Se*/inN-$'e
BengT
Se$e./e
ER DIAGRAM FOR A "AN# DATA"ASE
T+e Ben:a$in
View more...
Comments