Sie sind auf Seite 1von 2

Nama : M Raihan Rahman

NIM : 11181061

1) Tentukan Relation-key
 Publisher
Kolom Relation Key
Id_publisher Primary key
Nama_publisher Candidate Key

 Bookstores
Kolom Relation key
Id_BookStore Primary Key
Nama_bookstore -
Alamat_Bookstore Candidate Key
Kontak_bookstore -

 Authors
Kolom Relation Key
Id_Author Primary Key
Nama_Author -
Kontak_Author Candidate Key

 Titles
Kolom Relation Key
Id_buku Primary Key
Judul_Buku Candidate Key
Id_Author Foreign Key
Id_Publiser Foreign Key

 Inventory
kolom Relation Key
Id_Inventory Primary Key
Id_Buku Foreign Key
Total -

 Order
Kolom Relation Key
Id_Order Primary Key
Id_Buku Foreign Key
Total -

2) Buat tabel dan keterhubungannya

3) Untuk table publisher, Author, Title, dan Inventory minimal 5 tupel

 Publisher

 Author
 Title

Id_Buku Id_Publisher Id_Author Judul_Buku


1 1 1 Brief History of
Time
2 2 2 Bumi
3 3 3 Bulan
4 4 4 Shophia
5 5 5 Gun Germ Steel

 Inventory
Id_Inventory Id_Buku Total
1 1 10
2 2 2
3 3 5
4 4 3
5 5 5

4) Buat tabel keterhubungannya


5) Tentukan atribut kunci yang ada

Das könnte Ihnen auch gefallen