473,378 Members | 1,523 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Normalisation

Hi i am a little unsure of how you do this problem:

A company wishes to allocate staff to a new project that as been proposed by the company. As a result, a new relation was created for this propose as follows:

Staff_Project (Staff_No, Proj_Id, Proj_Name Proj_Location, Staff_Hours, Staff_Name, Staff_Address)
Assuming that,

Staff_No stands for staff number of the employee;

Proj_Id is identifies of one of the projects that the staff works on;

Staff_Hours is the number of hours per week that the staff works on the project;

Proj_Name and Project_location are the name and location of the project;

Staff_Name is the staff surname;

Staff_Address is postcode of the address of the staff.
__________________________________________________ __

This is what is needed:

(a)Using appropriate diagrams to aid in your answer, briefly describe the concepts of “Normalisation” and “Functional Dependencies”. You should then describe the relationship between them with examples.

(b)Based on the given primary key (Staff_No, Proj_Id). Show, comprehensively, how you would normalise the relation to third normal form, indicating the functional dependencies you use in each stage of normalisation with justifications. State any assumptions you make about the data, if any.

(c)Identify the primary and foreign keys in your 3NF relations.
__________________________________________________ __

This is what ive done so far:

(a)Concepts of Normalisation and Functional Dependencies with the use of diagrams.

Staff _No ------------ Staff_Name
Project_Id -------- Proj_Name and Project_location
Staff_Name ------ Staff_Address and Staff_Hours

dotted lines are functional dependant

Your help and advise is much appreciated

Thanks
Nov 16 '07 #1
2 1695
I would have thought that this would result in 3 tables;

Table1: Staff (Staff_No [PrimaryKey], Staff_Name, Staff_Address) - The Staff_No is the only unique field.

Table2: Projects (Proj_ID [PrimaryKey], Proj_Name, Proj_Location) - The Proj_ID is the only unique field.

Table3: ProjectTime (Proj_ID [ForeignKey], Staff_No [ForeignKey], Staff_Hours) - This table does not need a primary key but you could assign a new unique index if you wish. It would probably be useful in a real situation. The Foreign keys are the primary keys in their own tables.

hope this helps.
Nov 17 '07 #2
hiya i have exactly the same scenario of ur courswrok n am really stuck. can ya giv us any way of starting it. thanks
Nov 18 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Michael Lauzon | last post by:
Database Normalisation Advisor Designated Contact: thox, xpl2 Status: Open Open Date: 2004-10-26 11:53 For Project: Lands of Myths & Legends (http://sourceforge.net/projects/lamyle/) Long...
1
by: Michael Lauzon | last post by:
Database Normalisation Advisor Designated Contact: thox, xpl2 Status: Open Open Date: 2004-10-26 11:53 For Project: Lands of Myths & Legends (http://sourceforge.net/projects/lamyle/) Long...
0
by: Michael Lauzon | last post by:
Database Normalisation Advisor Designated Contact: thox, xpl2 Status: Open Open Date: 2004-10-26 11:53 For Project: Lands of Myths & Legends (http://sourceforge.net/projects/lamyle/) Long...
2
by: David Allison | last post by:
Should Lookup fields be replaced by table normalisation? Then the Tables brought together in a Query for a Form to be based on? -- Dave Allison ~ Scotland
2
by: James W. | last post by:
Hi everyone, I would like to ask you lot if you know of a great place on the internet for a fool proof idiots guide to Normalisation 1st, 2nd, 3rd. I looked at webopedia but that is just as...
11
by: Michael Thomas | last post by:
Hi everyone Not sure if this is the right newsgroup to be posting to for this question, but I am using Access 2002 to develop a database solution for the company that I work for. It's basically...
3
by: Macbane | last post by:
Hello All, This has been bugging me for too long. I have a database that records medical interventions. I am familiar with the theory behind normalisation but am unsure what to do with the...
1
by: shauna | last post by:
hi, i am an As level student studying Applied ICT, im having problems with normalisation. our problem is to computerise a made up business.mine for example is a beauty salon. below are my...
2
mikek12004
by: mikek12004 | last post by:
I have a table for categories (id->the primary key, and name) and I want to add another column parent (one category might be inside another) with the id's range of values so in fact parent will be a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.