阅读背景:

在LEFT JOIN语句中使用CASE结果(MySQL)

来源:互联网 

I'm trying to LEFT JOIN a table based on a CASE result. Basically, I want to check if I'm the sender, and if I'm not I want to retrieve the sender's name from the users database. If I AM the sender, I want to retrieve the recipients name from the users table.I'm trying to LEFT JOIN a table based on a CASE




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: