# 如何判断一个主题的受欢迎程度？

**URL:** <https://meta.discourse.org/t/is-there-any-way-of-telling-how-popular-a-theme-is/93796>\
**Category:** Data & reporting\
**Tags:** sql-query\
**Created:** [2018 年8 月 2 日 19:11 UTC](https://meta.discourse.org/t/is-there-any-way-of-telling-how-popular-a-theme-is/93796 "2018-08-02T19:11:10Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
发布日期： [2018 年8 月 2 日 19:11 UTC](https://meta.discourse.org/t/is-there-any-way-of-telling-how-popular-a-theme-is/93796/1 "2018-08-02T19:11:10Z")

</div>

我开始在数据探索器中尝试，但我不确定数据库中是否存在正确的字段？…

目前的查询如下：

`select u.username, t.id, t.name from users u left join user_options o on u.id = o.user_id left join themes t on o.theme_key_seq = t.id where o.theme_key_seq <> 0`

这目前还无法运行。（而且我离分组和计数还很远）

我怀疑是某些实现细节我遗漏了……

---

_[View the full topic](https://meta.discourse.org/t/is-there-any-way-of-telling-how-popular-a-theme-is/93796)._
