# 지난 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:** [12월 30, 2020, 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:** 2

<div class="post-metadata">

**Author:** ![JusticeUK](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@JusticeUK](https://meta.discourse.org/u/JusticeUK)\
**Post date:** [12월 30, 2020, 12:46오후 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/2 "2020-12-30T12:46:07Z")

</div>

안녕하세요,

확인차 문의드립니다. 총 3개의 쿼리가 필요한가요?

1. 365일 이상 된 모든 그룹에 대해 언급(mention) 횟수를 오름차순으로 나열
2. 365일 이상 된 모든 그룹에 대해 언급 횟수가 5회 미만인 경우에만, 언급 횟수를 오름차순으로 나열
3. 멤버가 10명 미만인 모든 그룹에 대해 멤버 수를 나열

위와 같다면 제가 진행해 드릴 수 있습니다. 필요한 모든 정보는 groups, group\_users, group\_mentions 테이블에 저장되어 있습니다.

---

_[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)._
