Coming up with tables to store data

Moothursh

New member
Local time
Today, 15:48
Joined
Apr 14, 2013
Messages
5
i happened to have an idea, it's about an awarding system that i wanted implemented in our school. The requirement specs were a system that can capture students details, their results, termly average (our school takes 3 examinations per term),the annual average from the academic year (a normal academic year has 3 terms) the rest of the specs, i'm sill thinking about them.

could someone advise me on how to come up with the tables:confused::confused:
 
what you do is - you identify all the bits of data you need to store, and then design a set of tables in which to store them. some of the bits of data logically belong together in the same table

now doing this correctly needs some experience but the aim is to get to what is called a normalised structure - basically one where the same bit of data is never stored in more than place.

ignore any calculated figures, as they will be calculated from other data - eg you mention "termly average". ignore this. once you store the students, the modules they study, and the marks they gain in those modules, then you can calculate any statistic, such as the number of modules they studied, their total mark, their average mark, how they rank against other students etc etc - all from the base data.

there is often some stepwise refinement in this process. your initial attempt to construct the tables might not be 100% the best. so we try and do this first, and then as we start developing we realise we need to amend the table structure. the earlier in the process we can do this, achieve the optimal data structure, the easier and more harmonious the whole development becomes.


good luck
 
Last edited:
thank you gemmy....lemme try and follow your concept. wish me luck

and for all who contributed....major thumbs up!!!:):):):):)
 

Users who are viewing this thread

Back
Top Bottom