SlideShare a Scribd company logo
1 of 7
ERD RENTAL VCD FILM





Nama Kelompok :
Prabandari Agnes Dewanti ( 13.51.0020 )
Ridwan Fadillah Alfa Roni ( 13.51.0021 )
Nur Ali Mufid ( 13.52.0037 )
Studi Kasus :
Rental VCD FILM


Spesifikasi Database
 Data dari film berupa : judul, jumlah kepingan, jumlah
film.
 Film yang disewakan dikelompokkan ke dalam
kelompok film yang terdiri dari jenis film dengan
masing-masing jenis memiliki harga sewa yang
berbeda, artinya jenis film menentukan harga
sewanya.
 Data customer yang menyewa berupa : no identitas,
jenis identitas, nama dan alamat.
 Setiap customer dapat menyewa lebih dari satu film.
 Satu judul film dapat disewa oleh beberapa customer.
 lama sewa sesuai dengan jumlah film, terhitung dari
tgl menyewa.
 Setiap keterlambatan pengembalian akan dikenakan
denda per hari dan per film. nilai dari denda sudah
ditetapkan (konstan).
Tahap Pembuatan Entity
Relationship Diagram
1. Mengidentifikasikan entity-entity yang ada.
entity-entity : KelompokFilm, Film, Customer.
2. Menentukan atribut-atribut dari setiap entity.

Entity

Atribut

Film

kode_film,judul,jml_keping,jml_film,
stok

Kelompok
Kode_jenis,jenis,harga_sewa
Film
3. Customer
Menentukan primary key dari setiap entity.
no_identitas,jenis_identitas,nama,ala
Entity
Atribut
mat
Film
kode_film,kode_jenis,judul,jml_kepin
g,jml_film, stok

Kelompok
Film

kode_jenis,jenis,harga_sewa
Tahap Pembuatan Entity
Relationship Diagram (lanjutan)
4. Menentukan relationship antar entity.
Entity

Relationship Entity

Film

Dikelompokk Kelompok
an
film
Customer
Menyewa
5. Menentukan atribut-atribut dariFilm relationship (jika
setiap
ada).
Relationship

Atribut

Dikelompokka
n

-

Menyewa

no_identitas,kode_film,tgl_sewa, total_film,
tgl_kembali, total_harga, denda
Tahap Pembuatan Entity
Relationship Diagram (lanjutan)
6.Menentukan Cardinality Rasio.
Entity

Relationship

Entity

Cardinality
Rasio

Film

Dikelompokkan

KelompokFilm

N:1

Customer

Menyewa

Film

N:M
Entity Relationship Diagram Rental
VCD FILM
Kode_jeni
s
jenis

judul

harga_sewa

kode_film

jml_keping

dikelompokkan
kelompokfilm 1
jenis_identitas
no_identitas

Customer

Kode_jeni
s

jml_film

Film
N

N

tgl_sewa

total_film

total_harga

M

menyewa
kode_film

nama

alamat

denda

tgl_kembali
no_identitas
Keterangan :


Keterangan :
total_film

total_harga

denda

1.Atribut Derivatif : suatu atribut yang dihasilkan dari atribut lain.
2. Cardinality Ratio :
a. (1 : N / N : 1) : suatu entitas di A dihubungkan dengan
sejumlah entitas di B. Contoh : banyak karyawan berkerja
untuk satu depertement atau satu departement memiliki
banyak karyawan yang bekerja untuknya.
b. (M : N) : setiap entitas A dapat berhubungan dengan
banyak entitas B dan sebaliknya setiap entitas B juga dapat
berhubungan dengan banyak entitas A. Contoh : satu proyek
mempunyai banyak karyawan, satu karyawan boleh bekerja
di beberapa proyek.

More Related Content

Featured

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Erd rental vcd film

  • 1. ERD RENTAL VCD FILM     Nama Kelompok : Prabandari Agnes Dewanti ( 13.51.0020 ) Ridwan Fadillah Alfa Roni ( 13.51.0021 ) Nur Ali Mufid ( 13.52.0037 )
  • 2. Studi Kasus : Rental VCD FILM  Spesifikasi Database  Data dari film berupa : judul, jumlah kepingan, jumlah film.  Film yang disewakan dikelompokkan ke dalam kelompok film yang terdiri dari jenis film dengan masing-masing jenis memiliki harga sewa yang berbeda, artinya jenis film menentukan harga sewanya.  Data customer yang menyewa berupa : no identitas, jenis identitas, nama dan alamat.  Setiap customer dapat menyewa lebih dari satu film.  Satu judul film dapat disewa oleh beberapa customer.  lama sewa sesuai dengan jumlah film, terhitung dari tgl menyewa.  Setiap keterlambatan pengembalian akan dikenakan denda per hari dan per film. nilai dari denda sudah ditetapkan (konstan).
  • 3. Tahap Pembuatan Entity Relationship Diagram 1. Mengidentifikasikan entity-entity yang ada. entity-entity : KelompokFilm, Film, Customer. 2. Menentukan atribut-atribut dari setiap entity. Entity Atribut Film kode_film,judul,jml_keping,jml_film, stok Kelompok Kode_jenis,jenis,harga_sewa Film 3. Customer Menentukan primary key dari setiap entity. no_identitas,jenis_identitas,nama,ala Entity Atribut mat Film kode_film,kode_jenis,judul,jml_kepin g,jml_film, stok Kelompok Film kode_jenis,jenis,harga_sewa
  • 4. Tahap Pembuatan Entity Relationship Diagram (lanjutan) 4. Menentukan relationship antar entity. Entity Relationship Entity Film Dikelompokk Kelompok an film Customer Menyewa 5. Menentukan atribut-atribut dariFilm relationship (jika setiap ada). Relationship Atribut Dikelompokka n - Menyewa no_identitas,kode_film,tgl_sewa, total_film, tgl_kembali, total_harga, denda
  • 5. Tahap Pembuatan Entity Relationship Diagram (lanjutan) 6.Menentukan Cardinality Rasio. Entity Relationship Entity Cardinality Rasio Film Dikelompokkan KelompokFilm N:1 Customer Menyewa Film N:M
  • 6. Entity Relationship Diagram Rental VCD FILM Kode_jeni s jenis judul harga_sewa kode_film jml_keping dikelompokkan kelompokfilm 1 jenis_identitas no_identitas Customer Kode_jeni s jml_film Film N N tgl_sewa total_film total_harga M menyewa kode_film nama alamat denda tgl_kembali no_identitas
  • 7. Keterangan :  Keterangan : total_film total_harga denda 1.Atribut Derivatif : suatu atribut yang dihasilkan dari atribut lain. 2. Cardinality Ratio : a. (1 : N / N : 1) : suatu entitas di A dihubungkan dengan sejumlah entitas di B. Contoh : banyak karyawan berkerja untuk satu depertement atau satu departement memiliki banyak karyawan yang bekerja untuknya. b. (M : N) : setiap entitas A dapat berhubungan dengan banyak entitas B dan sebaliknya setiap entitas B juga dapat berhubungan dengan banyak entitas A. Contoh : satu proyek mempunyai banyak karyawan, satu karyawan boleh bekerja di beberapa proyek.