请教一个SQL Query# Database - 数据库
m*e
1 楼
问题简化如下:两个table,
player table: playerid int, ...... other fields do not matter
game table: gameid int, player1 int, player2 int ...... other fields do not
matter
game table 中player1, player2分别对应player table中的playerid
请问如何用SELECT Query得到交锋次数最多的几对player.
player table: playerid int, ...... other fields do not matter
game table: gameid int, player1 int, player2 int ...... other fields do not
matter
game table 中player1, player2分别对应player table中的playerid
请问如何用SELECT Query得到交锋次数最多的几对player.