You are on page 1of 11

Project Presentation

Kelompok 8

Miranda Ardani / 2301878630


Maulana Dzaky Riswandi / 2301913564
Zharfan Nasywa Kemal / 2301947426
Leonardus Ariel Keisa Purba / 2301911230
Ajie Perdana / 2301913343
ER Logical
7.1 Combining 1 : 1 Relationships

Payment and Transaction Relationship

TransactionID CustomerID PromoID TransactionDate TransactionMethod PaymentID StaffID TotalPrice PaymentType Status
D234 CC21 - 08-11-2020 Walk in PY097 SPV01 15000 Cash Paid

D765 DT67 PR331 15-12-2020 Delivery PY302 SPV02 47600 Bank Not
Transfer Paid
T876 TR34 PR072 08-11-2020 Pick up PY511 SPV02 22000 GoPay Paid

T222 CC17 - 22-12-2020 Walk in PY222 SPV01 12700 Cash Paid


7.2 Duplicating non key atribut in 1 : * relationship

Warehouse

WarehouseID ProductID StaffID StaffName WarehouseLocation

W001 B002 SPV01 Candra gunawan Jl. Pangkal Raya

W002 D004 SPV02 Anindya zahra Jl. Sukamiskin

W001 C005 SPV01 Candra gunawan Jl. Pangkal Raya

Note : Pada entity Warehouse membutuhkan StaffName dari entity Courier


7.3 Duplicating FK attributes in 1 : * relationship

Member
CustomerID MemberName MemberPhoneNumber MemberDOB MemberGender TransactionID
CC21 Chikasya Pauline 082122472934 11-09-1999 P D234
DT67 Juan Hermawan 085877312500 21-10-1996 L D765
TR34 Yolanda Destiana 0811218603 29-11-1982 P T876
7.4 Duplicating attributes in * : * relationship

DetailTransaction

TransactionID ProductID ProductName ProductPrice TransactionDate Amount

D234 PR87 Indomie Goreng 3500 08-11-2020 1


D765 PR98 Nestle Pure Life 600 ml 3600 15-12-2020 4
D234 PR98 Nestle Pure Life 600 ml 3600 08-11-2020 2
T876 PR87 Indomie Goreng 3500 22-12-2020 3
D234 PR75 Sedaap Mie Soto 3500 08-11-2020 1
7.5 Introducing repeating groups

Tidak ditemukan repeating group pada ERD ini


7.6 Creating extract tables
Ini adalah contoh table Extract pada Stock bulanan Alfamart

Supplier Staff Warehouse Product


SupplierID (PK) StaffID (PK) WarehouseID (PK) ProductID (PK)
SupplierName StaffName WarehouseLocation ProductName
SupplierCompany ProductCategory
ProductPrice
ProductBrand
ProductStock
ExpiryDateProduct

Disini hanya menggunakan 4 entity yang diperlukan yaitu


Supplier, Staff, Warehouse, Product
7.7 Partitioning relations
Kami membaginya secara vertikal
Membagi tabel Product berdasarkan Categorynya.

Snack Minuman Bersoda Obat Herbal Vitamin

SN-0078 MS-0031 OH-002 VT-0042

SN-0075 MS-0036 OH-004 VT-0046

SN-0070 MS-0034    
Membagi tabel Payment berdasarkan PaymentTypenya

Cash Debit E-money

PY-035 PY-023 PY-046

     
TERIMAKASIH

You might also like