Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: stonysmithThe simple version is to simply use the SORT node with these parameters:
CompareOrderExpr = ColumnA, ColumnB
Unique=True
=======
But, if you need to say count the records... then you need to use the AGG node.
You need first need to SORT the input.. add a SORT node, and give it these parameters.
CompareOrderExpr = ColumnA, ColumnB
Unique=False
Connect that output to an AGG node.
Then, for the AGG:
Script= c=count() emit *,c where lastInGroup
GroupBy= ColumnA, ColumnB
Originally posted by: manson88
Hi,
I am new to BRE, and I am trying to replicate the MsAccess Group By Function in BRE.