有人可以幫我組合下面的2個查詢嗎?目標是在php中創建Speaker和Organizer變量(也在下面)。謝謝!結合2個查詢的MySQL
$query= "
SELECT srMeet.mOrg, srMeet.mSpeaker, users.uID, users.uFirst, users.uLast
FROM srMeet
INNER JOIN users
ON users.uID = srMeet.mSpeaker";
$query= "
SELECT srMeet.mOrg, srMeet.mSpeaker, users.uID, users.uFirst, users.uLast
FROM srMeet
INNER JOIN users
ON users.uID = srMeet.mOrg";
$Speaker = $row['uFirst'] . " " . $row['uLast'];
$Organizer = $row['uFirst'] . " " . $row['uLast'];
完美,謝謝! – user1041931