1

The answer I couldn't find anywhere, what is a term for columns listed in GROUP BY clause? And in opposite, what is a name for columns to which aggregate functions applied?

CoderFF
  • 190
  • 1
  • 10

1 Answers1

2

I would refer to them as "group by keys" or aggregation keys.

I find that documentation in different databases is not consistent, so there might be some flexibility. "group by element" or "group by expression" both convey the idea, unambiguously.

There is not a special name for the arguments of aggregation functions. These can be any expressions, including "group by keys".

Gordon Linoff
  • 1,242,037
  • 58
  • 646
  • 786