|
I need help for database modeling and query. I am makeing sport statistic site and have no idea how to make Head-to-head section. I have two tables in mysql database. One with players (ID, name, country....) Second with matches between players (ID, player 1, score 1, player 2, score 2, tournament, season....). I need to have two dynamic drop-down menus with players. User have to select from them two players, click on Button and see query abut matches between selected two players. I suppose, that need to have third table and make many-to-many relationship, but not sure. I need ideas, please!
|