I have this two tables. I have current player id_player, I want to select all games from this player (id_player) and his opponents info. Current player and opponent player are connected with same id_game. or

table game:`id_game` (...)
table game_player:`id_game_player, id_player, id_game`(...)
“give me all separate game info from current player and his opponent
and join info for their game (grouped by game)”
result as:
+---player game info
game1 |
+---opponent game info
+---player game info
game2 |
+---opponent1 game info
+---player game info
game2 |
+---opponent2 game info
Can anyone provide me MySQL solution?
Thanks
EDIT:
I try with this code but I’m not sure this is fastest way (WHERE IN) and is there any way to group results like above?
SELECT * FROM game_player
JOIN `game` ON game.id_game = game_player.id_game
WHERE game_player.id_game
IN (
SELECT game_player.id_game
FROM `game_player`
WHERE game_player.id_player =2)
give this a try