# 특정 카테고리의 최근 플래그 개수 가져오기

**URL:** <https://meta.discourse.org/t/get-count-of-recent-flags-in-a-particular-category/260411>\
**Category:** Data & reporting\
**Tags:** sql-query\
**Created:** [4월 3, 2023, 5:01오후 UTC](https://meta.discourse.org/t/get-count-of-recent-flags-in-a-particular-category/260411 "2023-04-03T17:01:27Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [4월 3, 2023, 8:44오후 UTC](https://meta.discourse.org/t/get-count-of-recent-flags-in-a-particular-category/260411/4 "2023-04-03T20:44:06Z")

</div>

> [@Arkshine](#):
>
> 참고: `the post_action_type_id`를 6으로 유지했는데, 이것이 사용자가 경고(warning)를 받는 것과 관련이 있다고 생각합니다. 이 부분도 함께 카운팅을 원하시는지 확신이 서지 않습니다. 원치 않으시면 자유롭게 삭제해 주세요.

참고로 6은 '사용자 알림(Notify User)'으로, 플래깅 메뉴에서 시작되는 사용자 간 개인 메시지(PM)에 사용되는 항목입니다. 👍

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/7/4/174174f555f47dcca70a59bb890bc54cabc5d5c8.png)

다만, 관리자가 이를 공식 경고(offiical warning)로 표시하는 것도 가능합니다.

---

_[View the full topic](https://meta.discourse.org/t/get-count-of-recent-flags-in-a-particular-category/260411)._
