r/DatabaseHelp • u/GreenFosh • Dec 05 '15
Help with ER model
Hello, i need help with a database model which i need to complete. The scenario is about racehorses. Racehorse will have an owner, trainer, stable, and parents who are also racehorses, i also need to add where the horse has run and at what racecourse and its position and jockey who rode it. I understand how to add most of this to a model, however i am having trouble doing the races and parents. What entity and attributes could i have for these? thanks in advance and any help would be appreciated, thanks!
1
Upvotes
View all comments
Show parent comment
2
u/[deleted] Dec 06 '15
Sure. Race and horse would be a unique key as well as race and jockey.