Q: How do I make MySQL only SELECT all users that have played => x amount of games within the y most recent days?
This is all used for a gaming ladder. I use two tables: weblPlayers has only the user info (username, email, password etc), and weblGames has the result of every reported game along with the date and time, properly formatted, of when it was reported.
Here are the screenshots of them:
WeblPlayers has the fields: player_id | name | email | etc | etc. The names found of a winner or loser in weblGames when a game is reported correspond to same names found in WeblPlayers.