Hi, I am in dilemma situation, and do not know which one is better. Lets say I have 100++ (or more) games on my website. I want to store highscore for each game. Should i store all the highscore in 1 table or each game has its own table?
Compare:
1 table: 1 table contains a lot of rows(data). Every user play different game will submit score to this table. Dont know what will happen if many users submit at the same time. This table structure should be: gameID, name, score. So i just make 1 query to view what game's highscore in 1 php page.
If use multiple tables (each game has its own table), I would have many more tables but much lesser rows(data).
Which one is better in long run? How about the sql performance?
i am using php and mysql