1 / 11

Pertemuan <<2>> <<ERD & EERD>>

Pertemuan <<2>> <<ERD & EERD>>. Matakuliah : <<T0773>>/<<Perancangan Databasel>> Tahun : <<2005>> Versi : <<1/2>>. Learning Outcomes. Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu :

mali
Download Presentation

Pertemuan <<2>> <<ERD & EERD>>

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Pertemuan <<2>><<ERD & EERD>> Matakuliah : <<T0773>>/<<Perancangan Databasel>> Tahun : <<2005>> Versi : <<1/2>>

  2. Learning Outcomes Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu : • << TIK-2 >> Mahasiswa dapat membuat diagram / skema Entity Relationship dan Enhanced Emtity Relationship dalam suatu pengembangan Sistem Basis Data (C4)

  3. Outline Materi • Tipe Entity Relationship dan Tipe Attribut • Kendala Struktural • Model Entity Relationship • Spesialisasi / Generalisasi • Agregasi • Komposisi

  4. ENTITY • Entity type • Grup dari objects yang mempunyai properties sama, dengan sifatnya ada yang real (Mahasiswa, Karyawan) dan ada yang abstrak (Penjualan, Viewing). • Entity occurrence • Tipe Entity secara Uniquely mengidentifikasi objek.

  5. ENTITY • Relationship type • Set asosiasi yang mungkin terjadi pada suatu entity. • Relationship occurrence • Secara Uniquely mengidentifikasi asosiasi yang mungkin terjadi pada setiap entity yang berpartisipasi

  6. NET SEMANTIK DARI RELATIONSHIP HAS Branch (entity) HASStaff (entity) “ Branch has Staff “ HAS r1 ▫ r2 ▫ r3 ▫ SG37 ◊ SG14 ◊ SA9 ◊ BO33 ◊ B007 ◊ Staff Branch

  7. Contoh Relationship Rekursive Staff (Supervisor) supervises staff (Supervisee) Supervises Supervisor Supervisee Role Name S t a f f Role Name

  8. Contoh asosiasi dua entity yang mempunyai dua relationship Manager memanage kantor cabang Manager Kantor Cabang Manages Mempunyai Karyawan Kantor Cabang Kantor Cabang mempunyai Karyawan Role Name PEGAWAI CABANG Role Name

  9. Diagram ER dari Entity Pegawai dan Cabang Entities Manage Mempunyai Primary Key Pegawai Cabang staffNo {PK} Nama Posisi Gajih Total_Staf KodeCab{PK} Alamat Jalan Kota KodePos Telpon[1..3] Daerah List Attribute Composite Attribute Derived Attribute Multi valued attribute

  10. Specialization / Generalization • Specialization • Process of maximizing differences between members of an entity by identifying their distinguishing characteristics. • Generalization • Process of minimizing differences between entities by identifying their common characteristics.

  11. Specialization/Generalization of Staff Entity into Subclasses Representing Job Roles

More Related