• Tidak ada hasil yang ditemukan

Staffsite STMIK PPKIA Pradnya Paramita DD_3_4

N/A
N/A
Protected

Academic year: 2017

Membagikan "Staffsite STMIK PPKIA Pradnya Paramita DD_3_4"

Copied!
12
0
0

Teks penuh

(1)
(2)

Database Design

3-4

(3)

DDS3L4

Objectives

This lesson covers the following objectives:

• Identify relationships using a matrix diagram

(4)

Purpose

• It is useful to

know more than one way to

discover

relationships.

It may be simple enough to identify relationships given three entities.

But what about finding relationships when you have thirteen or more entities?

TEACHER COURSE

CLASS

TEACHER COURSE STUDENT

CLASS EXAM SEMESTER

CAFETERIA GRADE CLUB

CLASSROOM SCHOOL SCHOOL EQUIPMENT

(5)

DDS3L4

Purpose

• Using a matrix

diagram,

especially when you are dealing with many

entities, is a good way to make sure that you haven’t missed any relationships.

It may be simple enough to identify relationships given three entities.

But what about finding relationships when you have thirteen or more entities?

TEACHER COURSE

CLASS

TEACHER COURSE STUDENT

CLASS EXAM SEMESTER

CAFETERIA GRADE CLUB

CLASSROOM SCHOOL SCHOOL EQUIPMENT

(6)

Business Scenario

• "I work for a travel agency.

I keep a record of the countries that our

customers have visited

and the landmarks they’ve seen in each country. It helps us customize tours for them."

• We can use the matrix

diagram to uncover relationships.

TRAVELER COUNTRY LANDMARK

TRAVELER

COUNTRY

LANDMARK

TRAVELER

LANDMARK

COUNTRY

(7)

DDS3L4

Matrix Diagrams

• To avoid confusion, be consistent in writing to and reading

from the matrix only in one direction.

TRAVELER COUNTRY LANDMARK

TRAVELER

COUNTRY

LANDMARK

visit have seen

visited by the location of

seen by located in

correct: COUNTRY visited by TRAVELER correct: LANDMARK seen by TRAVELER

incorrect: TRAVELER visited by COUNTRY

(8)

Matrix Diagrams

TRAVELER COUNTRY LANDMARK

TRAVELER

COUNTRY

LANDMARK

• Relationships

discovered via the matrix diagram are then drawn on the ERD.

• Matrix diagrams do

not show optionality and cardinality.

visit have seen

visited by the location of

seen by located in

TRAVELER COUNTRY

LANDMARK

visit

visited by

the location of

located in have seen

(9)

DDS3L4

Matrix Diagrams

• Each COUNTRY may

be visited by one or more TRAVELERs.

• Each TRAVELER may

visit one or more

COUNTRY. TRAVELER COUNTRY

LANDMARK

visit

visited by

the location of

located in have seen

seen by

TRAVELER COUNTRY LANDMARK

TRAVELER

COUNTRY

LANDMARK

visit have seen

visited by the location of

(10)

Terminology

Key terms used in this lesson included:

(11)

DDS3L4

Summary

In this lesson, you should have learned how to:

• Identify relationships using a matrix diagram

(12)

Referensi

Dokumen terkait

I then provide empirical evidence that these reforms suc- ceeded in substantially increasing the labor market attachment of the target population and that local welfare

SEHUBUNGAN DENGAN PENGUMUMA PEMENANG, MAKA BERSAMA INI DISAMPA KAN

Pada Bab II Point 2 tertulis masa berlaku penawaran 150 (seratus lima puluh) hari kalender,sedangkan pada Bab IV huruf F masa berlaku penawaran 60 (enam puluh) hari kalender

Dengan ini kami beritahukan bahwa penawaran Saudara Nomor : ll ,1KP/SPHIIIII2AI2 tanggal 07 Maret 2A72 perlhal Penawaran Pekerjaan Pengadaan Sarana

Pendekatan sistem yang lebih menekankan pada prosedur didefinisikan bahwa sistem yaitu suatu jaringan kerja dari prosedur-prosedur yang saling berhubungan, berkumpul

[r]

[r]

Mengunjungi pengawas SMP, SMA, dan SMK di dindik kabupatenkota, dan memberikan hasil rekap data sekolah yang tidak lengkap dan tidak valid, serta memberikan bimtek kepada sekolah