473,387 Members | 1,542 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,387 software developers and data experts.

help with normalisation

1
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 attributes and they need to be normalised to 3rd normal form! i have also shown what i have come up with but i am unsure as to whether it is correct!

please help as im finding this very difficult.

Normalisation
The goal of normalisation is to create a set of relational tables that are free of redundant data and that can be consistently and correctly modified. This means that all tables in a relational database should be in the third normal form (3NF).

By normalising my database it will ensure that;
• There is no data redundancy among my tables, i.e. there will be no unnecessary duplication.
• Data is consistent in all my tables. For example if a field is updated in one table it will update in all tables. This will save time.
• Complex queries can be performed from data on different tables.

Below are all the fields that will be included in my database

Customer (ID, title, first name, surname, address, town, postcode, telephone#, mobile#, DOB, email address, medical details, allergies, previous treatments, booking ID, date of booking, appt date, appt time, treatment required, treatment duration, treatment price, stock ID, stock name, amount in stock, reorder level, supplier ID, supplier name, supplier email, supplier telephone #)

First normal form- in this normal form I removed all the repeating groups

Customer file (customer ID, title, first name, surname, address, town, postcode, telephone #, mobile#, DOB, email address, medical details, allergies, previous treatments,)

Booking file (booking ID, customer ID, date of booking, appt date, appt time, treatment required, treatment duration, treatment price, stock ID, customer id, stock name, amount in stock, reorder level supplier ID, supplier name, supplier email, supplier telephone number)




Second normal form- here I removed the partial dependencies (A partial dependency is when an attribute is functionally dependent on only
part of the primary key.)

Customer file (customer ID, title, first name, surname, address, town, postcode, telephone #, mobile#, DOB, email address, medical details, allergies, previous treatments,)

Booking file (booking ID, customer ID)

Booking file (booking ID, date of booking, appt date, appt time, treatment required, treatment duration, treatment price, stock ID, customer id, stock name, amount in stock, reorder level supplier ID, supplier name, supplier email, supplier telephone number)


3rd normal form - here I have removed the transitive dependencies (these are repeating attributes.)


Customer file (customer ID, title, first name, surname, address, town, postcode, telephone #, mobile#, DOB, email address, medical details, allergies, previous treatments,)

Booking file (booking ID, customer ID)


Booking file (booking ID, date of booking, appt date, appt time, treatment required, treatment duration, treatment price, stock ID, customer id, stock name, amount in stock, reorder level)

Supplier (supplier ID, supplier name, supplier email, supplier telephone number)
Apr 5 '07 #1
1 2064
MMcCarthy
14,534 Expert Mod 8TB
Firstly have a look at this tutorial and then come back with any questions you may have.

Normalisation and Table structures

Mary
Apr 6 '07 #2

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...
5
by: trode | last post by:
Hello all. For the first time, our company might make use of the MS Access portion of the office package. Problem is, I don't know it well enough to whip out a desired program. What we want to...
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...
2
by: hiyamwah | last post by:
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...
1
by: mlewis | last post by:
Hello I would be most grateful for a little help / discussion on a normalisation / db structure question I have. I think the issues are pretty well explained graphically on my link (below) but...
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...
4
by: ob1kenobi | last post by:
I'm struggling with the normalisation process for my database in Access here is my UNF. I'm stuck on the 1NF. Internal Reference Number Customer Name Customer Address 1 Customer Address 2...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.