私信  •  关注

whytheq

whytheq 最近创建的主题
whytheq 最近回复了
11 年前
回复了 whytheq 创建的主题 » 为什么mysql中不允许在group by中使用别名?[复制品]

我可能漏掉了一些东西,但这肯定能弥补:

WHERE (Buy = 1 and Long = 1) OR (Buy = 0 and Long = 0)