为何不能再where语句中使用聚合函数

1.问题描述sql select deptno ,avg(sal) from emp where count(*)>3 group by deptno; 在where 句中使用聚合函数count(*),报出错误:ORA-00934: group function is not allowed here函数 那是为何呢?spa 2.问题解决:.net 大体解释以下,sql语句的执行过程是:from-
相关文章
相关标签/搜索