User:Zebabasu/ERD Exercises

=ERD Exercises=

digraph g { graph [ edge[fontsize=9]; node[fontsize=10, fontname=arial, style=filled, fillcolor=lightgray]; rankdir = "LR", ranksep = ".5" ]; edge [ ];      Persons1 [label="Persons: Persons1 | PersonPK: 563822| ObjectType: 1 | realname: %SOHN%" shape = "record"]; OrgObj1 [label="Orgobj: Orgobj1 | ObjectPK: 563822| ObjectType: 1 | PersonPK: 563822" shape = "record"]; Obj1 [label="Objects: Obj1 | ObjectPK: 563822| ObjectType: 1 | ObjectDesc: SOHN, TAMMARYN DAWN (W F 10/03/1977)" shape = "record"];

Doc1 [label="Documents: Doc1 | DocPK: 3304426| DocType: 10| DocDesc: MPD ARREST AR#20060231275..." shape = "record"]; Desc1 [label="Descriptions: Desc1 | DescPK: 5235558| DocPK: 3304426| ObjectPK: 563822" shape = "record"]; Desc2 [label="Descriptions: Desc2 | DescPK: 6769252| DocPK: 3304426| ObjectPK: 563822" shape = "record"];

Persons1:pk:e -> OrgObj1:pk2:w; OrgObj1:pk:e -> Obj1:pk2:w; Desc1:pk2:e -> Obj1:pk:w [dir=back]; Desc2:pk2:e -> Obj1:pk:w [dir=back]; Doc1:pk:e -> Desc1:pk:w [dir=back]; Doc1:pk:e -> Desc2:pk:w [dir=back];

}