|
Can't be specific but offhand;
tables
horse: all the horse detail needed
owner: just the owners details
track: id, name, location etc
race: id, date, distance, track.id, name etc
results: horse.id, race.id, position, time, etc
horse to owner link: owner.id, horse.id
horse to race link: horse.id, race.id, position, prizemoney
then to get any collection of data it just needs JOIN queries to pull the required info out.
These are just approximations of course, to define an exact database schema needs all the information you expect to store.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
|