More than 4 tables? Gd thing or bad thing?

2 Advanced

Registered User.
Local time
Yesterday, 19:02
Joined
Mar 2, 2006
Messages
21
Hi, im currently under going a Driving school project database. I have the following tables, Client, Instructor, Lesson and Lesson Type. However i feel like i want to go into more depth, e.g. make tables like recording sections of theory and practical tests, etc.

Currently my database with 4 tables is in 3rd normal form.. but say if i had 10 tables linking via relationship in query, what normal form is this? Is this gd practice or bad practice? :confused::confused:

This has been going through my head lately and im wanting to get take alot into consideration for my project. This might be absurd question to say in the forum but hope anyone can help me and explanation for me.:o

Thanks and much appreciated! :)
 
really its a bit of a tautology - you need however many tables you need, based on the data you are trynig to model

Client, Instructor, Lesson and Lesson Type

the tables you have seem fine, but it depends how far you want to take it -

eg you arent recording the car used for the lesson, so perhaps you need a car table. if so, you would record make model regno etc in the car table, and perhaps just store the regno in the lesson table

you dont have a standard pricetable to price the lessons - perhaps you dont want to record the lesson cost, or perhaps you are recording the rate in the client table - you could have a standard price lookup table, storing the available rates

the thing is, introducing these extra tables, is still keeping your data in normal form - its not how many tables you have, its making sure your data is analysed correctly
 
really its a bit of a tautology - you need however many tables you need, based on the data you are trynig to model

Client, Instructor, Lesson and Lesson Type

the tables you have seem fine, but it depends how far you want to take it -

eg you arent recording the car used for the lesson, so perhaps you need a car table. if so, you would record make model regno etc in the car table, and perhaps just store the regno in the lesson table

you dont have a standard pricetable to price the lessons - perhaps you dont want to record the lesson cost, or perhaps you are recording the rate in the client table - you could have a standard price lookup table, storing the available rates

the thing is, introducing these extra tables, is still keeping your data in normal form - its not how many tables you have, its making sure your data is analysed correctly

Thanks gemma-the-husky, very helpful! :):)
 

Users who are viewing this thread

Back
Top Bottom