如何加入这 3 个查询?
select gameid, type, Player1, Player2, Player3, Player4, Player5
from tbl_game
where Player1=" + userid + " OR Player2=" + userid + " OR Player3=" + userid +
" OR Player4=" + userid + " OR Player5=" + userid + " AND Complete = 'No'
select Player1, Player2, Streaks
from tbl_streaks
where gameid = [gameid from first query]
select userid, userid, Facebookid, points
from tbl_userinfo
where userid = [players from first query]
userid
作为参数传递。
我没有任何想法..
请帮我。