GROUP BY π‘ BETA
GROUP BY groups a list by a field.
Syntax
GROUP BY list, "field"
Example
GROUP BY orders, "customer"
What it does
GROUP BY partitions a list on the value of one field and returns the groups.
Limits
- Registered with positional arguments only β the signature shown is the exact form; named arguments are not part of the keyword.