I'm on the wrong side of cemetary hill, but I've decided to try to learn mysql.
my hobby is horse racing and I'm already a bit stuck in the design phase and don't want to start off down the garden path before I start!
The main table "raceresults" as suggest holds all previous race results.
"newrace" contains the details of the current days races.
"newrunner" contains the details of the horses due to run in the days races.
"newrace" :- race_id,r_date,course,r_time,pen_val,age_grp,dist_ mfy,r_bhb
"newrunner":- race_id,no_drw,form,horse,age,wt,trainer,jockey,OR
"raceresults":- race_id,date,course,time,value,race_age,dist_mfy,c lass,pos,drw,horse,wt,jockey,trainer,age,s_price.
my questions are:-
1. Is it ok to have identical names in more than 1 table.
2. what are the primary keys I need.
3. Would I be better joining "newrunner" and "newrace" into one table and just query from there.
many thanks in advance
Davey H