Retrieved from https://studentshare.org/information-technology/1591380-database-implementation
https://studentshare.org/information-technology/1591380-database-implementation.
Database Manipulation Task Database Manipulation Introduction Normalization is the process by which one breaks down the files into tables in order to create the database. There are three to four steps which are followed when normalizing a table. The first step is the First Normal Form (1NF), the second type of normalization is the Second Normal Form (2NF), the third form is Third Normal Form (3NF), lastly is the Boyce-Codd Normal Form (BCNF). There are other forms of normalization although, they are rarely used.
This paper tries to analyze how one can break down the files into the table for the sake of creating a database (Churche, 2007). Database is said to be normalized if only it is in 3NF. First Normal Form (1NF)The following rules are followed when normalizing a table in the 1NF for an organized database. The first step involves the eliminating of the columns which are in the same table; the second step is to create a separate table for every group of the related data then identifies every row with the unique columns that is the primary key.
The tables in Community library database have not met the requirement of the 1NF, 2NF, and 3 NF since different columns in the tables has been repeated. The columns of the table repeatedly include the column of the data type, length and descriptions. This table can be created as a one table as shown below; Field NameData Type Length/Format Description Customer ID Number Primary Key First Name Text20 Last Name Text20 SSNoTextStandard lengthSocial Security Number AddressText50 CityText15 StateText15 ZipCodeText6 PhoneText13 EmailText30 DOBDateStandardDate of birthDOADateStandardDate of ApplicationCheckout IDNumber Primary KeyCustomer ID Number Foreign KeyItemAcquiredText30 Foreign Key.
ID of Book/CD acquired for checkoutItemTypeText11 for book and 0 for CDItemTitleText50ItemGenreText30DescriptionText200EditionText15YearofPubText5Year of publicationSecond Normal Form (2NF)This step addresses a concept of removing data which are repeated in a given table. It has rules which must be followed during normalization. The first step is making sure that the requirements in the first normal form are met. Secondly, remove the subsets of data which multiples the rows of the table then place the data in different tables.
The third step is creating the relationships between the tables as well as, predecessors by use of the foreign keys (Coronel, 2011). Field NameData TypeLength/FormatDescriptionCustomer IDNumberPrimary key SSNoTextStandard lengthSocial Security Number ZipCodeText6ItemTypeText11 for book and 0 for CDCustomer ID Number Foreign KeyDescriptionText200YearofPubText5Year of publicationThird Normal Form (3NF)This form goes more steps further. One must have to meet the requirements of the second normal form, and then remove columns which depend upon a primary key.
Apply SQL to create tablesCREATE TABLE Customers(P_Id int,LastName varchar(255),FirstName varchar(255),Address varchar(255),City varchar(255))ConclusionData should always be organized properly in the database. It is done by creating tables as well as, establishing the relationships between the tables in regard to the rules designed to protect the data and to make database to be flexible by removing the redundancy as well as, inconsistent dependency. Redundant data is known to be wasting the disk space as well as, creating the maintenance problems.
If the data which exists in many places must be changed, the data must be changed in precisely to the same way in all locations. ReferencesChurcher, C. (2007). Beginning database design. New York: Apress ;. Coronel, C., Morris, S., & Rob, P. (2011). Database systems: design, implementation, and management (9th ed.). London: Course Technology Cengage Learning. Ling, T. W., Lee, M. L., & Dobbie, G. (2005). Semistructured database design. New York: Springer.
Read More