Counting rows and summing columns in same aggregator stage
Posted: Fri Oct 29, 2010 2:45 am
I am sure this must be something already discussed, but I just cant find any posts in the forum.
Is not possible to count rows and sum columns in the same Aggregator stage?
Due to Aggregation Type property, you always have to choose between 'Calculation' (where there is no calculation for counting, the most similar I found was Weighting column) and 'Count Rows'
Is not possible to do both, as you do in typical SQL queries?
Is not possible to count rows and sum columns in the same Aggregator stage?
Due to Aggregation Type property, you always have to choose between 'Calculation' (where there is no calculation for counting, the most similar I found was Weighting column) and 'Count Rows'
Is not possible to do both, as you do in typical SQL queries?
Thanks a lot!select count(*), sum(col1), sum(col2) from table