Quantcast
Channel: MySQL possible team vs. team matches where one player can be part of multiple teams - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by GMB for MySQL possible team vs. team matches where one player can...

I think this does what you want:select t1.team_id home, t2.team_id awayfrom players_team t1inner join players_team t2 on t2.team_id <> t1.team_idgroup by t1.team_id, t2.team_idhaving...

View Article



MySQL possible team vs. team matches where one player can be part of multiple...

What I have in a database is players and teams.One player can join multiple teams as described in the table below:player_id | team_id1 | 12 | 12 | 22 | 33 | 23 | 34 | 45 | 46 | 57 | 5What I'm looking...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images