0% found this document useful (0 votes)
953 views2 pages

Normalisation Example-Empproject

The document describes a table depicting employee and project data for a business consultancy. It requires showing the table in first, second, and third normal forms and explaining the normalization process. The answer provides guidelines for first normal form, which involves selecting primary keys to reduce attribute repetition and creating relations based on non-repeating and repeating attribute groups.

Uploaded by

sambashivarao
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
953 views2 pages

Normalisation Example-Empproject

The document describes a table depicting employee and project data for a business consultancy. It requires showing the table in first, second, and third normal forms and explaining the normalization process. The answer provides guidelines for first normal form, which involves selecting primary keys to reduce attribute repetition and creating relations based on non-repeating and repeating attribute groups.

Uploaded by

sambashivarao
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Normalisation Example

Employee and Projects


The table below depicts the requirements for a business consultancy working on local and
international projects.

Emp-No Emp- Dept Manager Proj-id Proj-Start- Location Weeks-on-Project


Name Date
005 Smith Marketing Jones A 12-93 Poole 11
B 6-94 Plymouth 15
C 09-94 Portsmouth 6
007 Bond Accounts Bloggs B 06-94 Plymouth 3
D 06-94 Berlin 9
009 King Info Systems Hurne C 09-94 Portsmouth 10
010 Holt Accounts Bloggs A 12-93 Poole 21
B 06-94 Belfast 10
D 06-94 Hamburg 12
Notes: Employees work on a number of projects concurrently. Weeks-on-project represents
the number of weeks to date that an employee has spent on a particular project. The
employee number, emp-no, and the project identifier, project-id, are unique identifiers.
The department manager, manager, is the name of the current manager, i.e., there can only
be one manager per department. A project can take place in several locations.

You are required to show the first, second and third normal forms. Explain the
normalisation process used.

Answer
First Normal Form

Relations in first normal form represent data as a set of tuples each of which is uniquely
identified by a primary key value. The most difficult part of constructing a first normal
form set of relations is identifying the primary key for each relation. It is best to select the
primary key attributes which reduce the number of attributes that repeat. An attribute
repeats when it contains two or more values for each value of the primary key. The
following guidelines should produce a set of first normal form relations.

1. Select a primary key for the set of attributes.


2. Identify the set of attributes which repeats for each value of this primary key.
3. Create a relation from the attributes which are not in the repeating group.
4. Make the key of this relation the key identified in (a).
5. Identify the primary key for the repeating group by taking each value of the
primary key in (a) and identifying a unique attribute(s) in the repeating group.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy