理解column must appear in the GROUP BY clause or be used in an aggregate function

Posted 牛顿的小脑

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了理解column must appear in the GROUP BY clause or be used in an aggregate function相关的知识,希望对你有一定的参考价值。

column "ms.xxx_time" must appear in the GROUP BY clause or be used in an aggregate function

------------------------------------------------------------------------------------------

有min(), max(), sum(), avg()这些函数可以和group by 语句连在一起用。

The SQL GROUP BY statement is used along with the SQL aggregate functions like SUM to provide means of grouping the result dataset by certain database table column(s).

 

以上是关于理解column must appear in the GROUP BY clause or be used in an aggregate function的主要内容,如果未能解决你的问题,请参考以下文章

Postgresql聚合报错:column XXX must appear in the GROUP BY clause or be used in an aggregate function

hive报错( Non-Partition column appears in the partition specification)

-borders doesn't appear in outlook

错误记录Android Studio 配置 AspectJ 报错 ( all buildscript {} blocks must appear before any plugins {} )(代码片

Java–cvc-complex-type.4:Attribut ‘version’ must appear on element ‘web-app’

前端Vue 项目数据请求跨域问题:The value of the ‘Access-Control-Allow-Origin‘ header in the response must not be t