Any reason for GROUP BY clause without aggregation function?

后端 未结 5 1389
心在旅途
心在旅途 2020-12-06 09:19

I\'m (thoroughly) learning SQL at the moment and came across the GROUP BYclause.

GROUP BY aggregates or groups the resultset according to t

5条回答
  •  情话喂你
    2020-12-06 10:06

    Group by can used in Two way Majorly
    1)in conjunction with SQL aggregation functions
    2)to eliminate duplicate rows from a result set

    SO answer to your question lies in second part of USEs above described.

提交回复
热议问题