powered by
adapted from dbplyr
sql_aggregate(f)sql_aggregate_2(f)
sql_aggregate_2(f)
SQL function name