Click here to Skip to main content
15,922,427 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi guys

Basically I am new to databases and I need to make sure that the db is in 3rd normal form.
The task is as follows:

Design a relational database to hold the following information:
1. Name
2. Surname
3. Phone No
4. Phone No type (home, mobile, work, fax, other)

Make sure that the database is in 3rd normal form.

I have a working database but I wanted to know if I have done it correctly so solutions to the above would be greatly appreciated.

Basically Table1 has PersonID - primary key, Name and Surname
Table2 has NumberID - primary key, PersonID - foreign key, PhoneNumber and Type



Thanks
Posted
Updated 4-Dec-10 0:27am
v3
Comments
Keith Barrow 4-Dec-10 6:13am    
Well, provide us with your table structure, and we'll critique it for you.
Abhinav S 4-Dec-10 6:28am    
You have not posted the structure you have created.
brendan8909 4-Dec-10 8:05am    
It is now, please guys just let me know if I have gone about it the right way
Sandeep Mewara 4-Dec-10 9:18am    
Share/update the question with what you say as 'working db'. After which we will comment. Just saying tried and asking for a design would not do. show your effort.

You need to ask yourself a question about each field/group of fields.
Your "Table1" is a gimme', no one will argue with that as not being normalized.
In your other tables you need to ask yourself certain questions regarding each of the data fields that are relevant.
Can the data value be used multiple times?
If yes, then is it valid for the data value to be physically duplicated, or is a lookup table in order for this value?
I don't want to lay everything out for you. I want you to do the thinking and this is just to point you in the general direction. If you have any other specific questions, use the "Improve question" link above and then I'll gladly be more specific to those improvements by updating my answer here.

Cheers.
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900