# 過去1年間のグループのメンション数とメンバー数を取得する方法

**URL:** <https://meta.discourse.org/t/how-to-get-the-number-of-mentions-groups-have-had-over-the-past-year-and-number-of-members/174548>\
**Category:** Data & reporting\
**Tags:** sql-query, mentions\
**Created:** [2020 年 12 月 30 日午前 1:52 UTC](https://meta.discourse.org/t/how-to-get-the-number-of-mentions-groups-have-had-over-the-past-year-and-number-of-members/174548 "2020-12-30T01:52:45Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![traceymoko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/traceymoko/32/483235_2.png) [@traceymoko](https://meta.discourse.org/u/traceymoko)\
**Post date:** [2020 年 12 月 30 日午前 1:52 UTC](https://meta.discourse.org/t/how-to-get-the-number-of-mentions-groups-have-had-over-the-past-year-and-number-of-members/174548/1 "2020-12-30T01:52:45Z")

</div>

こんにちは、私は[Hopscotch フォーラム](https://forum.gethopscotch.com)のモデレーターです。以下の [Data Explorer](https://meta.discourse.org/t/32566?silent=true) クエリについてお手伝いいただけないでしょうか。

- 過去 365 日間にグループが受け取った `@` メンションの数
  - 少ない順にソート
  - グループの作成日が 365 日以上前である場合のみ（つまり、グループが 365 日以上存在している場合）

- 過去 365 日間にグループが受け取った `@` メンションの数
  - 過去 365 日間のメンション数が 5 件未満のグループに限定
  - 少ない順にソート
  - グループの作成日が 365 日以上前である場合のみ（つまり、グループが 365 日以上存在している場合）

- グループのメンバー数
  - メンバー数が 10 人未満のグループに限定
  - 少ない順にソート

目的は、非アクティブなグループの削除を進めることです（クエリは管理者に作成を依頼する予定です）。

よろしくお願いいたします。  
Tracey

（#data-explorer タグを追加したいのですが、現時点では追加できないようです）

---

_[View the full topic](https://meta.discourse.org/t/how-to-get-the-number-of-mentions-groups-have-had-over-the-past-year-and-number-of-members/174548)._
