SQL not a single group group function error

前端 未结 4 679
生来不讨喜
生来不讨喜 2020-12-19 10:22

I am having a hard time getting my oracle developer query to output correctly. When I have the avg function in it, it gives me not a single group group error. When I take it

4条回答
  •  星月不相逢
    2020-12-19 11:00

    For your newly added fields, you didn't used group by, hence you are getting this error, so by including that newly added fields to group by you will resolve this error and group all the data that would have to be aggregated.

提交回复
热议问题