MedVision ad

Normalising Help (1 Viewer)

Beege

Member
Joined
Oct 14, 2006
Messages
771
Gender
Male
HSC
2007
Can someone please assist me with normalising these fields:

* Firstname
* Surname
* Address
* Age
* Gender
* Team Last Year
* Coach
* Training Time
* Position Played This Year

help would be much appreciated
 

Lwaxana

Betazed Ambassador
Joined
Oct 16, 2002
Messages
430
Location
in a galaxy far far away
Gender
Female
HSC
N/A
normalising is getting rid of redundant data / fields

so you wouldnt have date of birth field AND an age field

Coach and training time could sit in a separate table
 

Beege

Member
Joined
Oct 14, 2006
Messages
771
Gender
Male
HSC
2007
K i've normalised my database:

1st Table:

*Firstname
*Surname
*Address
*Age
*Gender
*Team Last Year
*Position Played This Year

2nd Table:

*Coach
*Training Time


Would this be enough? and which fields from the first table could relate with the fields from the 2nd table?
 
Last edited:

Beege

Member
Joined
Oct 14, 2006
Messages
771
Gender
Male
HSC
2007
sweet thx but what about the foreign keys?
 

Lwaxana

Betazed Ambassador
Joined
Oct 16, 2002
Messages
430
Location
in a galaxy far far away
Gender
Female
HSC
N/A
By definition
Foreign key: An attribute (field) of a table in a relational database that is a primary key in another table.

Am sure you can figure that out
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top