I am designing a database based on NBA stats.
For a particular part, I have:
Game: [ Id, HomeTeam, AwayTeam, Date, GameTime … ]
GameScore: [ Id, GameId(FK), QuarterOne, QuarterTwo … ]
For game score, there is quarter one to quarter four. How should I design it it to include overtime quarters. What is best design method for this situation?
Should I put the values into one column?
Or should I have a separate table as follows:
Game: [ Id, HomeTeam, AwayTeam, Date, GameTime … ]
GameScore: [ Id, GameId(FK), QuarterOne, QuarterTwo … ]
OvertimeScore: [ GameScoreId(FK), Quarter, score ]
The method above, will include the overtime score in the table "OvertimeScore", where quarter column stores the quarter value, and score column stores the score value.
It doesn't seem right design for some reason. Please help thanks.