Rooms RoomID Capacity OpeningTime ClosingTime Status EmployeelD Student StudentID Student_name Department Email Phone_number Before Normalization: manages Employee EmployeelD Employee_name Phone_number Email Job_Title Salary registers F Book PK organizes PK FK BookID Title Publication_Year Publisher PublisherAddress Category Number_of_copies Status EmployeelD PK LibraryEvents Event_ID Event_Name Event_Date Event_Type Start_Time End_Time Location EmployeeID PK FK PK has Borrowing StudentID BookID borrow_date return_date block_date FK is borrowed through FK, PK PK.
[Virtual Presenter] and1NF,2NFarealreadysatisfied.
Book table - normalization steps 0) Original table before normalization 1) First Normal Form Book Book BookID (PKJ Publication_Year Publisher PublisherAddress Category Number_of_copies Status EmployeelD (FK] BookID Title Publication_ Year Publisher ShortAddress BuildingNumber StreetName AdditionalNumber PostalCode District City Category Number_of copies Status EmployeelD (PK) Fix: split PublisherAddress (a full address in ONE cell) into atomic columns. INF OK 3) Third Normal Form transitive dependency Book BookID Title Publication_Year Publisher_Name Category Number_of_copies Status EmployeelD IPKJ BookID → Publisher_Name Publisher_Name → ShortAddress ShortAddress - BuildingNumber. Publisher StreetName, Additiona/Number, PostalCode, District, City Publisher_ Name ShortAddress IPK] (FK] has address (FK] Address ShortAddress BuildingNumber StreetName AdditionalNumber PostalCode District City IPKJ LibraryEvents table - normalization steps 0) Original table betsre normalization. 1) First Normal Form home water LibraryEvents LibraryEvents ne Event ID Event_Name Event Date Event_Type Start_Time End Time Location EmployeelD (PKg Achieved All values are atomic (one value per cell). 3) Third Normal Form no transitive dependency 4) Connected LibraryEvents Event ID Event_Name Event Date Event_Type Start Time Achieved No transitive dependency: every column depends directly on Event_ID. and INF, 2NF are already satisfied Location EmployeelD not atomic values 2) Second Normal Form no partial dependency Book BookID Title Publication Year Publisher ShortAddress BuildingNumber StreetName AdditionalNumber PostalCode District City Category Number_of_copies Status EmployeelD (PK) Achieved No partial dependency (single-column key). and 1NF is already satisfied 4) Connected Job Job Tete Sarar Room Capecity OpeningTine ClosingTime EmployeelD Publishe Publisher Name ShortAddress no partial depandens Employee hist hand Last Name nore numbe Emall BookID Publication, Year Publisher Mam Nunber,of.copies Status Employost ShortAddroze Buldingkumber StoeName Addlionalumbe PostalCod Districe 2) Second Normal Form LibraryEvents Location Danisati Congra. JAK ingle-column key), Employe manesence полонскати understoo Sant hil Everc.Tysd Daniel.
Student table - normalization steps 0) Original table before normalizati Student StudentID Student name Department Email Phone_number 3) Third Normal Form Student StudentID First_Name Last_ Name Department Email Phone_number 1) First Normal Form Student (PKJ StudentID First_ Name Last_Name Department Email Phone_number Fix: split Student_name into First_ Name and Last Name. INF OK (PKg Achieved No transitive dependency: every column depends directly on StudentID. and INF, 2NF are already satisfied kit atomic value (PK) no transitive dependency Bulanglumer 2) Second Normal Form Student StudentID First_Name Last_ Name Department Email Phone_number (PK) Achieved No partial dependency (single-column key). and 1NF is already satisfied. Carocty CoskeTime Pubtsher Perisher, sume Free None no partial dependend List MaTe Publicaten, ton AbrinaNand Category Nanbec.ef.copn Statue Borrowing table - normalization steps 0) Original table before normalization Borrowing StudentID BookID borrow date retum date block date [PK, FK} (PK, FK] (PKg 3) Third Normal Form Borrowing StudentID BookID borrow_date return_date block date [PK, FKJ [PK, FKJ (PKJ 1) First Normal Form atomic values Borrowing StudentID BookiD borrow date return_date block date (PK. FK] (PK. FKI [PK] Achieved All values are atomic (one value per cell). no transtive depondo Achieved No transitive dependency in Borrowing or Ban. and INF, 2NF are already satisfied 2) Second Normal Form Borrowing StudentID BookID borrow_date return date block date [PK, FK] [PK, FK] [PKJ Achieved No partial dependency in Borrowing. Every non-key attribute depends on the full key. 4) Connected ho partial dependency Adtress Shortlotress Buildnglumber StevName AdstionalNumber Diatriot Crosch DonnaTime ClesingTime * ShortAndress Sirst smi Last Name Department Phone mambr Employa Emplove! Fise Name Last Name Phane.numbe Email Puttshar Name Number of croi Emoloyset Porci retum, dand Litraryt ve tweet Nam End, Time Locuson [ Employsot Event. O Event. Nam Ewwnt bat Event. Type.
After Normalization Job Job._Title Salary assigned to [PK] HI manages Address ShortAddress BuildingNumber StreetName AdditionalNumber PostalCode District City [PK] Rooms RoomID Capacity OpeningTime ClosingTime Status EmployeelD Publisher has address Publisher_Name -o ShortAddress Student StudentID First_Name Last_Name Department Email Phone_number [PK] (FK) publishes IPK] H# [FK] has (PK] H Employee EmployeelD First_Name Last_Name Phone_number Email Job_Title [PK] (FK] = I registers Book BookID Title Publication_Year Publisher_Name Category Number_of_copies Status EmployeelD [PK] [FK] [FK] = is borrowed through Borrowing StudentID BookID borrow_date return_date block_date [PK, FKI [PK, FK] [PK] organizes LibraryEvents Event_ID Event_Name Event_Date Event_Type Start_Time End_Time Location EmployeelD [PK] [FK].