# スタッフの返信がない投稿を検索する方法はありますか？

**URL:** <https://meta.discourse.org/t/is-there-a-way-to-search-by-posts-with-no-staff-replies-on-it/126004>\
**Category:** Data & reporting\
**Tags:** sql-query\
**Created:** [2019 年 8 月 16 日午後 5:50 UTC](https://meta.discourse.org/t/is-there-a-way-to-search-by-posts-with-no-staff-replies-on-it/126004 "2019-08-16T17:50:33Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [2019 年 8 月 17 日午前 3:24 UTC](https://meta.discourse.org/t/is-there-a-way-to-search-by-posts-with-no-staff-replies-on-it/126004/8 "2019-08-17T03:24:41Z")

</div>

`group_users`、`topic_users`、`topics` を使っていくつかのクエリを試していたところ、`moderator_posts_count` という topics フィールドを見つけ、大興奮しました！！！

次のように試してみました。

```plaintext
SELECT topics.id as topic_id 
FROM topics 
WHERE topics.moderator_posts_count < 1 

```

:sadpanda: 残念ながら、より複雑なクエリで得た結果とは大きく異なる結果でした。

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-way-to-search-by-posts-with-no-staff-replies-on-it/126004)._
