# 按主题划分的投票摘要，包括标签

**URL:** <https://meta.discourse.org/t/a-summary-of-votes-by-topic-including-tags/256770>\
**Category:** Data & reporting\
**Tags:** topic-voting, sql-query\
**Created:** [2023 年1 月 26 日 22:35 UTC](https://meta.discourse.org/t/a-summary-of-votes-by-topic-including-tags/256770 "2023-01-26T22:35:20Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![CarrieSeltzer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carrieseltzer/32/290785_2.png) [@CarrieSeltzer](https://meta.discourse.org/u/CarrieSeltzer)\
发布日期： [2023 年1 月 26 日 22:35 UTC](https://meta.discourse.org/t/a-summary-of-votes-by-topic-including-tags/256770/1 "2023-01-26T22:35:20Z")

</div>

我很想有一个数据探索器查询，可以列出某个类别中的所有主题以及每个主题的投票数。我对 SQL 查询是新手，找不到任何看起来足够接近可以让我修改的现有内容。

理想情况下，它看起来像这样：

| 主题 | 投票 | 回复 | 标签 | 关闭 |
| --- | --- | --- | --- | --- |
| 示例主题 1 | 85 | 62 | 网站、iOS、Android | 否 |
| 示例主题 2 | 79 | 45 | 网站 | 是 |

有人能帮我吗？如果这里不对，我很抱歉。这似乎是最接近的现有主题。

---

_[View the full topic](https://meta.discourse.org/t/a-summary-of-votes-by-topic-including-tags/256770)._
