阅读背景:

为什么我不能在having子句中为聚合使用别名?

来源:互联网 

My code is like shown below :

我的代码如下所示:

select col1,count(col2) as col7
from --some join operation
group by col1
having col7 >= 3 -- replace col7 by count(col2) to make the code work
sel



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

分享到: