我在查询时遇到了麻烦。如果有问题,我想加表格。这是我正在使用的查询。我是这些案例陈述的新手,非常感谢您的帮助! / Q+ ~: F/ E: e9 m1 w SELECT conversation.c_id, conversation.user_one, conversation.user_two, users.name, users.lastName FROM `conversation` CASE WHEN conversation.user_one = THEN INNER JOIN `users` ON conversation.two = users.id WHEN conversation.user_two = THEN INNER JOIN `users` ON conversation.user_one = users.id END CASE WHERE `user_one` = 1 OR `user_two` = ' W# G2 s0 f7 e' _0 L' Y! o- r解决方案: