View Single Post
Old 03-07-2013, 11:02 PM   PM User | #5
Bob Fo
New Coder

 
Join Date: Dec 2011
Posts: 11
Thanks: 9
Thanked 1 Time in 1 Post
Bob Fo is an unknown quantity at this point
Quote:
Originally Posted by Old Pedant View Post
Can you show some sample data?

Maybe just the data for one team?
Sure, and sorry for not providing this in the first post:

The team_member_scores has the following columns and data:

username - game_id - team_id - points
Fred - 1 - 1 - 200
Joe - 1 - 1 - 600
Aaron - 1 - 2 - 500


and the team_members has the following info:

team_id - username - stage - join_date
1 - Fred - 1 - timstamp

The username is being used as the foreign key in the team_member_scores table (I didn't design the team_members table, but I can redesign it if you think it would be better.)

I hope that clears it up.
Bob Fo is offline   Reply With Quote