10.07.2015 Views

Chapter 4 Entity Relationship Modeling

Chapter 4 Entity Relationship Modeling

Chapter 4 Entity Relationship Modeling

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PrototypesFirst VersionPlan to throw awaySample data, small sizeTest Major Features, User I/FThe ProcessFrom the problem DescriptionStep 1: Identify Important EntitiesStep 2: Define AttributesStep 3: Identify <strong>Relationship</strong>sIn-classClassify the following relationships1. person to driver's license2. person to social security number3. student to classes taken4. employee to dependents5. employee to spouse6. customer to purchase order7. person to hospital recordE-R Model ComponentsERA Models<strong>Entity</strong><strong>Relationship</strong>AttributeMeta EditMetaedit.exeER DetailsCardinalityLimit the number of occurrencesPROFESSOR(1,1)Connectivitiesteaches(1,4)CLASSER DetailsExistence DependencyDoes the Foreign Key Exist?Mandatory / Optional1,N 0,NCardinalitiesER DetailsWeak EntitiesEmployee to DependentEMPLOYEEPK EMP_NUMEMP_LNAMEEMP_FNAMEEMP_INITIALEMP_DOBEMP_HIREDATEDEPENDENThasPK,FK1 EMP_NUMPK DEP_NUM(1,1) (0,N)DEP_FNAMEDEP_DOBER DetailsRecursivePre-req CoursesMangersmanagesCOURSErequiresis prerequisite toDeveloping an E-R ModelA good work through ofDeveloping an E-R ModelPages 124 - 130Course to ClassEMPLOYEECOURSEPK CRS_CODECRS_TITLECRS_DESCRIPTIONCRS_CREDITSgeneratesPKCLASSCLASS_CODEFK1 CRS_CODECLASS_SECTIONCLASS_TIMECLASS_PLACECOURSE

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!