Bentuk tidak normal Unnormalized Form UNF Bentuk Normal Pertama First Normal Form 1NF

75

1. Bentuk tidak normal Unnormalized Form UNF

Bentuk tidak normal adalah kumpulan data yang akan digunakan untuk merancang basis data. Data dikumpulkan apa adanya sesuai dengan saat menginput. Berikut adalah bentuk tidak normal dari basis data : IdGuest Fullname Gender Address Telp Mobilephone Username Email Password Password2 IdAdmin Username Password Studentcode IdGuest Fullname Gender Address Telp Mobilephone Email Level IdRTest Date Day IdAE Aename Result IdPayment ReceiptNo. Paymentmethod Amount Levelbought Priceperlevel Startdate EndDate StartLevel EndLevel U N N O R M A L IdAE Aename Telp Mobilephone Address IdClass Class Day Date Session Level Time Tittle IdNative Name Nationality Address Email Tlp Mobilephone IdSchedule IdClass Class Day Date Session Time Level Tittle IdNative Name Nationality Address Email Tlp Mobilephone IdRTest Day Date IdGuest Fullname Gender Address Telp Mobilephone Username Email IdAE Aename Telp Mobilephone Address Result IdPayment ReceiptNo IdGuest Fullname Gender Address Telp Mobilephone Username Email IdAE Aename Telp Mobilephone Address Day Date Paymentmethod Amount Levelbought Priceperlevel Gambar 4.13 Bentuk Tidak Normal atau UNF IdStudyRec Studentcode IdGuest Fullname Gender Address Telp Mobilephone Email Level IdRTest Date Day IdAE Aename Result IdPayment ReceiptNo. Paymentmethod Amount Levelbought Priceperlevel Startdate EndDate StartLevel EndLevel IdNative Name Nationality Address Email Tlp Mobilephone 76

2. Bentuk Normal Pertama First Normal Form 1NF

Pada gambar diatas masih banyak data yang berulang, sehingga dibuat bentuk normal pertama yaitu membuat satu entitas tidak memiliki atribut yang sama. Syarat normal pertama 1NF : 1. Setiap data dibentuk dalam flat file, data dibentuk dalam satu record demi satu record nilai dari field berupa “atomic value”. 2. Tidak ada set atribute yang berulang atau bernilai ganda. 3. Telah ditentukannya primary key untuk tabel atau relasi tersebut. 4. Tiap atribut hanya memiliki satu pengertian. Bentuk normal pertama atau 1NF terdapat pada Gambar 4.14 77 IdGuest Fullname Gender Address Telp Mobilephone Username Email Password Password2 IdAdmin Username Password Studentcode IdGuest Fullname Gender Address Telp Mobilephone Email Level IdRTest Date Day IdAE Aename Result IdPayment ReceiptNo. Paymentmethod Amount Levelbought Priceperlevel Startdate EndDate StartLevel EndLevel FIRST NORMAL FORM 1NF IdAE Aename Telp Mobilephone Address IdClass Class Day Date Session Level Time Tittle IdNative Name Nationality Address Email Tlp Mobilephone IdSchedule IdClass Class Day Date Session Time Level Tittle IdNative Name Nationality Address Email Tlp Mobilephone IdRTest Day Date IdGuest Fullname Gender Address Telp Mobilephone Username Email IdAE Aename Telp Mobilephone Address Result IdPayment ReceiptNo IdGuest Fullname Gender Address Telp Mobilephone Username Email IdAE Aename Telp Mobilephone Address Day Date Paymentmethod Amount Levelbought Priceperlevel Gambar 4.14 Bentuk Normal Pertama atau 1NF IdStudyRec Studentcode IdGuest Fullname Gender Address Telp Mobilephone Email Level IdRTest Date Day IdAE Aename Result IdPayment ReceiptNo. Paymentmethod Amount Levelbought Priceperlevel Startdate EndDate StartLevel EndLevel IdNative Name Nationality Address Email Tlp Mobilephone IdNative Name Nationality Address Email Tlp Mobilephone 78

3. Bentuk Normal Kedua 2NF