Normalising Databases?

Computer Science and ICT discussion, revision, exam and homework help.

Announcements Posted on
TSR launches Learn Together! - Our new subscription to help improve your learning 16-05-2013
IMPORTANT: You must wait until midnight (morning exams)/4.30AM (afternoon exams) to discuss Edexcel exams and until 1pm/6pm the following day for STEP and IB exams. Please read before posting, including for rules for practical and oral exams. 28-04-2013
Sign in to Reply
  1. dylantombides's Avatar
    • Exalted Member
    • Posts: 331
    Normalising Databases?
    Is anyone good at normalising database? I need to do it for my coursework and just don't get it at all.

    So yeah.... comment and give advice if you know how to do it?

    Thanks very much
  2. dylantombides's Avatar
    • Exalted Member
    • Posts: 331
    Re: Normalising Databases?
    Anyone? I got to know pretty soon as the deadline is approaching quickly!
  3. Adrir's Avatar
    • New Member
    • Location: London, UK
    • Posts: 16
    Re: Normalising Databases?
    What part of normalization do you not understand? What is the level of your database knowledge?

    You are trying to organise your data structure (e.g. the tables and fields) such that redundancy can be eliminated (e.g. not storing the same data twice, not duplicating fields to represent the same thing multiple times, not storing unrelated data in the same table, etc). First remove any duplicate fields in a table (e.g. telephone1, telephone2, telephone3) to a new table such that there is only one field in that new table and rows it contains will represent the multiple instances [1NF]. Then make all tables cohesive; that is, making each table represent a unique construct, then add a primary key (a field that uniquely identifies each record in the table), and foreign keys (using the primary key of another table as a field to show the records are related) such that there are no relations which are many-to-many [2NF]. Then remove any fields in a given table are not part of the construct and so are not dependent on the primary key, and therefore not defined by the primary key [3NF].

    I hope this helps, but is difficult to explain without examples as once you're used to it, it becomes very intuitive.
    Last edited by Adrir; 18-04-2012 at 14:02.
Sign in to Reply
Share this discussion:  
Article updates
Moderators

We have a brilliant team of more than 60 volunteers looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

Reputation gems:
The Reputation gems seen here indicate how well reputed the user is, red gem indicate negative reputation and green indicates a good rep.
Post rating score:
These scores show if a post has been positively or negatively rated by our members.