saif7463
New Member
- Messages
- 30
- Reaction score
- 0
- Points
- 0
Hi everyone,
Currently I have a table which stores user information and another table that has calendar events. For each calendar event, there are a variable number of rounds (ranging from 2 to 6) in which users earn points. I'm not exactly sure how to store this information.
Should I just create another table that has columns {userid, eventid, round#, score} to store the results? But then it is somewhat difficult to determine which rounds a particular user missed, (which I suppose I could get around by making a fake user who has a record in every round).
Or, should I just add more columns to the user table? But in doing so, I wouldn't exactly know how to loop through these columns as rounds of events.
Any help would be appreciated.
Currently I have a table which stores user information and another table that has calendar events. For each calendar event, there are a variable number of rounds (ranging from 2 to 6) in which users earn points. I'm not exactly sure how to store this information.
Should I just create another table that has columns {userid, eventid, round#, score} to store the results? But then it is somewhat difficult to determine which rounds a particular user missed, (which I suppose I could get around by making a fake user who has a record in every round).
Or, should I just add more columns to the user table? But in doing so, I wouldn't exactly know how to loop through these columns as rounds of events.
Any help would be appreciated.