Laporan Tugas Besar Pemodelan Basis Data

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

LAPORAN

TUGAS BESAR
PEMODELAN BASIS DATA

PERANCANGAN BASIS DATA PADA SISTEM LEARNING


MANAGEMENT SYSTEM PERUSAHAAN ANGGA MEMBANGUN
INDONESIA (BUILDWITHANGGA)

ANGGOTA KELOMPOK:
Dana Eko Wahyu Pambudi (19102137)
Fauzan Taqiyuddin (19102103)
Favian Yumna Firjatullah (19102131)
Nafi Ilham Hamami (19102116)
Widi Afandi (19102127)

KELAS IF-07-L

PROGRAM STUDI S1 TEKNIK INFORMATIKA


FAKULTAS INFORMATIKA
INSTITUT TEKNOLOGI TELKOM PURWOKERTO
2021

1
3.1 Normalisasi Basis Data
3.3.1 Bentuk Normal Tahap 1 (1NF)
user_id name email nomor_whatsapp pekerjaan password
1 Dana dana@ittelkom- 081234567890 Mahasiswa 123(Encrypt)
Eko pwt.ac.id
2 Fauzan fauzan@ittelkom- 083214567876 Mahasiswa 123(Encrypt)
pwt.ac.id
3 Favian favian@ittelkom- 083211457732 Pekerja 123(Encrypt)
pwt.ac.id
4 Nafi nafi@ittelkom- 083824145287 Pelajar 123(Encrypt)
Ilham pwt.ac.id
5 Widi widi@ittelkom- 087243332651 Freelance 123(Encrypt)
Afandi pwt.ac.id
NULL NULL NULL NULL NULL NULL

join_id join_at course_id title


1 2021-01-23 1 Andoid
Fundamental
10:00:00
2 2021-01-25 2 Web
Programming
09:00:00
3 2021-01-24 3 Phyton
Fundamental
08:30:00
4 2021-01-25 4 Machine
Learning
19:00:00
5 2021-01-28 5 Deep Learning

08:00:00
NULL NULL 6 Object Oriented
Programming

2
slug_url video_lesson create_at invoice_id price
www.youtube.com/androfundamental Android 2021-01- 1 350000
Fundamental 22
13:00:00
www.youtube.com/webprogramming Web 2021-01- 2 400000
Programming 22
14:00:00
www.youtube.com/phytonfundamental Phyton 2021-01- 3 350000
Fundamental 22
14:30:00
www.youtube.com/ml Machine 2021-01- 4 350000
Learning 22
15:00:00
www.youtube.com/dl Deep 2021-01- 5 400000
Learning 22
15:30:00
www.youtube.com/oop Object 2021-01- NULL NULL
Oriented 22
Programming 16:00:00

status update_at create_at payment_id payment_metho status


d
Terbayar 2021-01- 2021-01- 1 Bank success
23
23
10:00:00
11:00:00
Pending 2021-01- 2021-01- 2 Gopay pending
25
25

3
09:00:00 09:00:00

Terbayar 2021-01- 2021-01- 3 Ovo refund


24
24
08:30:00
09:15:00
Pending 2021-01- 2021-01- 4 Bank canceled
25
25
19:00:00
19:15:00
Terbayar 2021-01- 2021-01- 5 Indomaret success
28 28
08:30:00 08:00:00

3.3.2 Bentuk Normal Tahap 2 (2NF)


Tabel 3. 1 Normalisasi 1NF
user_id name email nomor_whatsapp pekerjaan password
1 Dana dana@ittelkom- 081234567890 Mahasiswa 123(Encrypt)
pwt.ac.id
Eko
2 Fauzan fauzan@ittelkom- 083214567876 Mahasiswa 123(Encrypt)
pwt.ac.id

3 Favian favian@ittelkom- 083211457732 Pekerja 123(Encrypt)


pwt.ac.id

4 Nafi nafi@ittelkom- 083824145287 Pelajar 123(Encrypt)


pwt.ac.id
Ilham
5 Widi widi@ittelkom- 087243332651 Freelance 123(Encrypt)
Afandi pwt.ac.id

Tabel 3. 2 Normalisasi 2NF tabel user

4
course title slug_url video_lesso create_at
_id n
1 Andoid www.youtube.com/androfundamental Android 2021-01-
Fundamental Fundamental 22
13:00:00
2 Web www.youtube.com/webprogramming Web 2021-01-
Programmin Programming 22
Tabel 3. 3 Normalisasi 2NF tabel course
g 14:00:00
3 Phyton www.youtube.com/phytonfundam Phyton 2021-01-
Fundamental ental Fundamental 22
14:30:00
4 Machine www.youtube.com/ml Machine 2021-01-
Learning Learning 22
15:00:00
5 Deep www.youtube.com/dl Deep 2021-01-
Learning Learning 22
15:30:00
6 Object www.youtube.com/oop Object 2021-01-
Oriented Oriented 22
Programmin Programming 16:00:00
g

user_id course_id join_id join_at


4 4 1 2021-01-23 10:00:00
5 1 2 2021-01-25 09:00:00
2 2 3 2021-01-24 08:30:00
4 5 4 2021-01-25 19:00:00
3 1 5 2021-01-28 08:00:00

Tabel 3. 4 Normalisasi 2NF tabel join_course

5
invoice_id price status update_at create_at course_id join_id user_id
1 payment_id350000
payment_method status 2021-01-
Terbaya 2021-01- course_id4 user_id 1 invoice_id
4
1 Bank r 23 success 23 4 4 1
11:00:00
2 Gopay pending 10:00:00
1 5 2
2 400000 Pending 2021-01- 2021-01- 1 2 5
3 Ovo 25 refund 25 2 2 3
09:00:00
4 Bank Terbaya canceled09:00:00
2 4 4
3 350000 2021-01- 2021-01- 2 3 2
5 Indomaret
r 24 success 24 1 3 5
09:15:00 08:30:00
4 350000 Pending 2021-01- 2021-01- 5 4 4
25 25
19:15:00 19:00:00
5 400000 Terbaya 2021-01- 2021-01- 1 5 3
r 28 28
08:30:00 08:00:00

3.3.3 Bentuk Normal Tahap 3 (3NF)


Tabel 3. 6 3.
Tabel Normalisasi 2NF2NF
5 Normalisasi tabeltabel
payment
invoice
user_id name email nomor_whatsapp pekerjaan password
1 Dana Eko dana@ittelkom- 081234567890 Mahasiswa 123(Encrypt)
pwt.ac.id

2 Fauzan fauzan@ittelkom- 083214567876 Mahasiswa 123(Encrypt)


pwt.ac.id

3 Favian favian@ittelkom- 083211457732 Pekerja 123(Encrypt)


pwt.ac.id

4 Nafi Ilham nafi@ittelkom- 083824145287 Pelajar 123(Encrypt)


pwt.ac.id

5 Widi widi@ittelkom- 087243332651 Freelance 123(Encrypt)


Afandi pwt.ac.id

Tabel 3. 7 Normalisasi 3NF tabel user

6
course title slug_url video_lesso create_at
_id n
1 Andoid www.youtube.com/androfundamental Android 2021-01-
Fundamental Fundamental 22
13:00:00
2 Web www.youtube.com/webprogramming Web 2021-01-
Programmin Programming 22
g 14:00:00
3 Phyton www.youtube.com/phytonfundam Phyton 2021-01-
Fundamental ental Fundamental 22
14:30:00
4 Machine www.youtube.com/ml Machine 2021-01-
Learning Learning 22
Tabel 3. 8 Normalisasi 3NF tabel course 15:00:00
5 Deep www.youtube.com/dl Deep 2021-01-
Learning Learning 22
15:30:00
6 Object www.youtube.com/oop Object 2021-01-
Oriented Oriented 22
Programmin Programming 16:00:00
g

join_id join_at user_id course_id


1 2021-01-23 10:00:00 4 4
2 2021-01-25 09:00:00 5 1
3 2021-01-24 08:30:00 2 2
4 2021-01-25 19:00:00 4 5
5invoice_id2021-01-28
price status
08:00:00 update_at create_at course_id join_id user_id
3 1
1 350000 Terbaya 2021-01- 2021-01- 4 1 4
r 23 23
11:00:00 10:00:00
2 400000 Pending 2021-01- 2021-01- 1 2 5
25 25
09:00:00 09:00:00
3 350000 Terbaya 2021-01- 2021-01- 2 3 2
r 24 24
payment_id payment_method status course_id user_id invoice_id
09:15:00 08:30:00
4 350000 Pending 2021-01- 2021-01- 5 4 4
Tabel 3. 9 25 25 tabel join_course
Normalisasi 3NF
7
Tabel 3.19:15:00 19:00:00
10 Normalisasi 3NF tabel invoice
5 400000 Terbaya 2021-01- 2021-01- 1 5 3
r 28 28
08:30:00 08:00:00
1 Bank success 4 4 1
2 Gopay pending 1 5 2
3 Ovo refund 2 2 3
4 Bank canceled 2 4 4
5 Indomaret success 1 3 5

Tabel 3. 11 Normalisasi 3NF tabel payment

You might also like