MySQL Forums
Forum List  »  PHP

SQL Search Help
Posted by: B R
Date: August 04, 2024 12:31AM

I have a table of players and a table called gamePlayers. In this table I have a row for each game (which has gameID) key, and playerID for each player in each game.

I have a player in question, their unique field is playerID

What I want to do is show the a count of other players who've played in the same same game as the player in question.

For example, player 20 in question, player 30 is in 10 games the same as player 20.

how can I do this?

Options: ReplyQuote


Subject
Written By
Posted
SQL Search Help
B R
August 04, 2024 12:31AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.