Efficient MySQL table structure for rating system
问题 This post is a follow-up of this answered question: Best method for storing a list of user IDs. I took cletus and Mehrdad Afshari's epic advice of using a normalized database approach. Are the following tables properly set up for proper optimization? I'm kind of new to MySQL efficiency, so I want to make sure this is effective. Also, when it comes to finding the average rating for a game and the total number of votes should I use the following two queries, respectively? SELECT avg(vote) FROM