# Badge for poll vote + topic post with min post likes?

**URL:** https://meta.discourse.org/t/badge-for-poll-vote-topic-post-with-min-post-likes/281547
**Category:** Data & reporting
**Tags:** polls, sql-triggered-badge
**Created:** [8월 13, 2019, 10:14오전 UTC](https://meta.discourse.org/t/badge-for-poll-vote-topic-post-with-min-post-likes/281547 "2019-08-13T10:14:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Tom\_Beckett](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tom_beckett/32/139231_2.png) [@Tom\_Beckett](https://meta.discourse.org/u/Tom_Beckett)
#### Post date: [8월 13, 2019, 10:14오전 UTC](https://meta.discourse.org/t/badge-for-poll-vote-topic-post-with-min-post-likes/281547/1 "2019-08-13T10:14:26Z")

</div>

Has anyone come up with a SQL statement or could give me an idea of whether the following is possible in awarding a badge?

1. Responded to a poll with a specific number of answers (e.g. What things have you done to reduce your use of plastics? and given 5 out of 10 responses allow allowing them to fulfill the criteria)
2. And have responded to the topic with an answer (in addition to 1) stating what they will pledge to do going forward
3. And in addition to 1 & 2 have received 5 likes for their response in 2.

I know it’s complicated by would be cool if someone’s done something like this and could share their experience. Thanks in advance.
