text: select
    concat('reviews_per_user,', dup_actor_login, '`All') as repo_user,
    round(count(id) / {{n}}, 2) as result
  from
    gha_events
  where
    created_at >= '{{from}}'
    and created_at < '{{to}}'
    and type in ('PullRequestReviewCommentEvent')
    and (dup_actor_login {{exclude_bots}})
  group by
    dup_actor_login
  union select 'reviews_per_user,' || concat(dup_actor_login, '`', dup_repo_name) as repo_user,
    round(count(id) / {{n}}, 2) as result
  from
    gha_events
  where
    (dup_actor_login {{exclude_bots}})
    and type in ('PullRequestReviewCommentEvent')
    and created_at >= '{{from}}'
    and created_at < '{{to}}'
  group by
    repo_user
  order by
    result desc,
    repo_user asc
  ;
  