• Tidak ada hasil yang ditemukan

Database Development Lecture 4

N/A
N/A
Protected

Academic year: 2017

Membagikan "Database Development Lecture 4"

Copied!
14
0
0

Teks penuh

(1)

DATABASE

DEVELOPMENT

(2)

The Entity Relationship Diagram

The E-R model is a detailed, logical

representation of the data.

It must be flexible enough so that it

can be used and understood in

practically any environment where

information is modelled

(3)

ER- Model Constructs

Entity - person, place, object, event,

concept.

Entity Type - is a collection of entities

that share common properties or

characteristics. Each entity type is given

a name. It is always singular.

Entity instance – is a single occurrence

(4)

Types Of Entities

Database Development University Of South Asia 4

Entity

Weak Entity

existence depends on

some other entity type

Strong Entity

one that exists independently

from other entity types

(5)

Attribute

An attribute is a property or characteristic

of an entity type.

In ER diagrams place attributes name in an

ellipse with a line connecting it to its

associated entity.

An attribute is associated with exactly one

(6)

Types Of Attributes

Simple Attributes

Composite Attributes

Multi Valued Attributes

Derived Attributes

(7)
(8)
(9)

Relationship

A relationship is an association among the

instances of one or more entity types.

Unary Relationship:

Is between the instances of a single

entity type.

Binary Relationship:

Between the instances of two entity

types, and is the most common type of relationship encountered in

data modelling.

Ternary Relationship:

A ternary relationship is a

(10)
(11)
(12)

Degree Of Relationship

The number of entity types that

participate in it.

(13)

Cardinality Of A Relationship

The number of instances of one entity that

can or must be associated with each instance

of another entity.

Minimum Cardinality:

The minimum cardinality of a

relationship is the minimum number of instances of an entity B

that may be associated with each instance of an entity A

Maximum Cardinality:

The maximum number of

(14)

Example ERD

Referensi

Dokumen terkait

Tutor memberikan arahan terhadap persiapan UAS, mahasiswa diminta untuk mempelajari seluruh materi yang sudah ditutorialkan di rumah, dan mempelajari LM. Tutor menutup

Hasil penelitian menunjukkan bahwa ekstrak etanol herba Rumput Mutiara mempunyai efek toksik menurut metode BST dengan nilai LC50 sebesar 131,5 μ g/ml. Kata Kunci : uji

[r]

We use dynamic panel data estimation techniques to examine efects of exchange rate, inlation, lending interest rate, banking crisis and existence of wholesale Islamic banking

The meaning-based translation is the one which is known as the idiomatic translation – the meaning of the source text is expressed in the natural form of the

Perbandingan Penyampaian Umpan Balik Seketika dan Terminal terhadap Hasil Belajar Shooting pada Siswa yang Mengikuti Ekstrakuikuler Bola Basket di SMAN 9 Bandung

In continuation of our interest in the reaction of N -methylpiperidin-4-one and (2- clorobenzaldehyde, 3-bromobenzaldehyde and 4- clorobenzaldehyde) for the synthesis of

Sesuai dengan jadwal pelelangan sederhana Pekerjaan Fasilitasi Bantuan Kepada Petani Bawang Merah Tahun Anggaran 2015 pada Satuan Kerja Dinas Pertanian Tanaman Pangan dan