When a request that references a row level security table also includes an aggregate function, for example SUM, COUNT, MAX, MIN or AVG, the aggregation is based on only the rows that are available to the requesting user.
When a request that references a row level security table also includes an aggregate function, for example SUM, COUNT, MAX, MIN or AVG, the aggregation is based on only the rows that are available to the requesting user.