有人可以帮我结合下面的两个查询吗?目标是在 php 中创建 Speaker 和 Organizer 变量(也在下面)。谢谢!
$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'];