# 데이터 탐색기 - 카테고리별 알림 상태 목록

**URL:** https://meta.discourse.org/t/data-explorer-list-of-notification-status-per-category/198070
**Category:** Data & reporting
**Tags:** sql-query
**Created:** [7월 24, 2021, 3:51오후 UTC](https://meta.discourse.org/t/data-explorer-list-of-notification-status-per-category/198070 "2021-07-24T15:51:09Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [7월 24, 2021, 3:51오후 UTC](https://meta.discourse.org/t/data-explorer-list-of-notification-status-per-category/198070/1 "2021-07-24T15:51:09Z")

</div>

카테고리를 보고 있는 사용자 목록을 어떻게 가져올 수 있을까요? 아니면 알림 수준별 사용자 수만이라도 알 수 있다면 좋겠습니다. 감사합니다.

---

<div class="post-metadata">

### Author: ![alehandrof](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alehandrof/32/119526_2.png) [@alehandrof](https://meta.discourse.org/u/alehandrof)
#### Post date: [7월 26, 2021, 9:08오전 UTC](https://meta.discourse.org/t/data-explorer-list-of-notification-status-per-category/198070/2 "2021-07-26T09:08:38Z")

</div>

이렇게 하면 작동할 것 같습니다:

```plaintext
SELECT * FROM category_users WHERE category_id = '10'

```

카테고리 ID를 적절하게 변경하면 됩니다.

모든 가능한 알림 수준을 표시하지만, 나열된 숫자가 정확히 무엇을 의미하는지는 확실하지 않습니다. 2~4 범위로 되어 있는 것 같습니다. 순서대로 추적, 감시, 첫 게시물 감시일 것으로 추정됩니다.

---

<div class="post-metadata">

### Author: ![michebs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michebs/32/190102_2.png) [@michebs](https://meta.discourse.org/u/michebs)
#### Post date: [7월 26, 2021, 9:52오전 UTC](https://meta.discourse.org/t/data-explorer-list-of-notification-status-per-category/198070/3 "2021-07-26T09:52:12Z")

</div>

> [@alehandrof](#):
>
> 안녕하세요, 2~4번으로 실행되는 것 같습니다. 아마도 순서대로 추적, 관찰, 첫 게시물 관찰일 것입니다.

정확합니다. 이것이 알림 수준의 전체 목록입니다.  
|notification\_level|description|  
| — | — | — |  
|0|음소거|  
|1|일반|  
|2|추적|  
|3|관찰|  
|4|첫 게시물 관찰|

---

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [7월 26, 2021, 11:57오전 UTC](https://meta.discourse.org/t/data-explorer-list-of-notification-status-per-category/198070/4 "2021-07-26T11:57:28Z")

</div>

감사합니다. 제가 필요한 결과를 얻기 위해 이를 약간 수정했습니다:

```plaintext
SELECT notification_level, COUNT(notification_level)
FROM category_users 
WHERE category_id = '5'
GROUP BY notification_level

```

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [8월 25, 2021, 11:58오전 UTC](https://meta.discourse.org/t/data-explorer-list-of-notification-status-per-category/198070/5 "2021-08-25T11:58:12Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
