Question

In: Computer Science

The tbl_employee contains information about the employee and its department, and it contains the following fields...

The tbl_employee contains information about the employee and its department, and it contains the following fields (it is possible to also include other missing fields): employee_id, employee_gender ,employee_salary, employee_annual_sallary, department_name, department_location, department head.

Make use of the database normalization skills learned to normalize a database to the third normalization form. Organize the columns and tables to reduce data redundancy and arrange attributes based on the relationships.

  • Provide a screen shot of the database design before the normalization. Create a heading titled “Database Before Normalization.”
  • Provide a screen shot of the database design after the normalization. Create a heading titled “Database After Normalization.”
  • In more than 400 words, describe the three normalization forms and the guidelines for transforming from lower normal forms to higher normal forms.

Solutions

Expert Solution

Database Before Normalization

employee_id employee_gender employee_salary employee_annual_sallary department_name department_head

Database After normalization

Table1-

employee_id employee_gender employee_salary employee_annual_sallary

Table2

department_name department_location department_head


NORMALIZATION is a database design technique that reduces data redundancy and eliminates undesirable characteristics like Insertion, Update and Deletion Anomalies. Normalization rules divides larger tables into smaller tables and links them using relationships. The purpose of Normalization in SQL is to eliminate redundant (repetitive) data and ensure data is stored logically.

1NF (First Normal Form) Rules:-

  • Each table cell should contain a single value.
  • Each record needs to be unique.

2NF (Second Normal Form) Rules:

  • Rule 1- Be in 1NF
  • Rule 2- Single Column Primary Key

It is clear that we can't move forward to make our simple database in 2nd Normalization form unless we partition the table.

3NF (Third Normal Form) Rules

  • Rule 1- Be in 2NF
  • Rule 2- Has no transitive functional dependencies

To move our 2NF table into 3NF, we again need to again divide


Related Solutions

Design a class named Employee. The class should keep the following information in fields: ·         Employee...
Design a class named Employee. The class should keep the following information in fields: ·         Employee name ·         Employee number in the format XXX–L, where each X is a digit within the range 0–9 and the L is a letter within the range A–M. ·         Hire date Write one or more constructors and the appropriate accessor and mutator methods for the class. Next, write a class named ProductionWorker that inherits from the Employee class. The ProductionWorker class should have fields...
Create a structure array that contains the following information fields concerning the road bridges in a town
Create a structure array that contains the following information fields concerning the road bridges in a town: bridge location, maximum load (tons), year built, year due for maintenance. Then enter the following data into the array:
Suppose we have an input file that contains information about how many hours each employee of...
Suppose we have an input file that contains information about how many hours each employee of a company has worked. The file looks like the following (Employee's name, Hours): John 6.5 9.5 7.25 9 8.55 Oscar 12.5 13.5 14 16 18.75 Judith 7 7 7 ••• Construct a program that reads this file and calculates the total number of hours worked by each individual. Make sure that the program handles each specific exception that could occur.' python
the department of energy website contains information about monthly wholesale and retail prices for natural gas...
the department of energy website contains information about monthly wholesale and retail prices for natural gas in each state. go to www.eia.doe.gov/naturalgas/data.cfm and then click on the link monthly wholesale and retail prices. Under area, choose a state of interest to you, make sure the period Is monthly, and then under residential price click on view history. A window will open with a time plot covering approximately a 25-year period, along with a table of the monthly residential prices for...
Build an app to enter a user’s contact information that contains entry fields for firstname, lastname,...
Build an app to enter a user’s contact information that contains entry fields for firstname, lastname, phone number, email, and address. Pick a background color (other than the default) or an image displayed in the app background. Display an image (pick any free image) to display as a banner across the top of the app. Create a button named “Save” that when clicked displays a message “Data has been saved” and clears out the text boxes. Written in C#
You have a table for a membership database that contains the following fields: MemberLastName,
You have a table for a membership database that contains the following fields: MemberLastName, MemberFirstName, Street, City, State, ZipCode, and InitiationFee. There are 75,000 records in the table. What indexes would you create for the table, and why would you create these indexes?
The Payroll Department keeps a list of employee information for each pay period in a text...
The Payroll Department keeps a list of employee information for each pay period in a text file. The format of each line of the file is the following: Write a program that inputs a filename from the user and prints to the terminal a report of the wages paid to the employees for the given period. The report should be in tabular format with the appropriate header. Each line should contain: An employee’s name The hours worked The wages paid...
The following information is known about a company’s second department in the process costing system for...
The following information is known about a company’s second department in the process costing system for the latest period: Beginning Inventory: 12000 units that are 60% complete for conversion costs Ending Inventory 15000 units that are 40% complete for conversion costs Units transferred in from the first department 30000 units Materials are added at the end of the process in Department 2 Costs Materials Conversion Costs Transferred in Costs Beginning Inventory (prior period costs) $41,250 $47,120 $50,000 Current period Costs...
The following information is known about a company’s second department in the process costing system for...
The following information is known about a company’s second department in the process costing system for the latest period: Beginning Inventory: 12000 units that are 60% complete for conversion costs Ending Inventory 15000 units that are 40% complete for conversion costs Units transferred in from the first department 30000 units Materials are added at the end of the process in Department 2 Costs Materials Conversion Costs Transferred in Costs Beginning Inventory (prior period costs) $41,250 $47,120 $50,000 Current period Costs...
Following is information about the assembly department of a company: 1. There were 200,000 units in...
Following is information about the assembly department of a company: 1. There were 200,000 units in work in process on August 1. With respect to units transferred in, 100% were complete and costs incurred amounted to $135,000. With respect to conversion, 85% of the units were complete and costs incurred amounted to $54,000. 2. 500,000 units were transferred in from the cutting department during August. 3. 600,000 units were completed during August and transferred to the finished goods inventory. 4....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT