# How do I make my own badge query?

**URL:** https://meta.discourse.org/t/how-do-i-make-my-own-badge-query/50946
**Category:** Data & reporting
**Tags:** sql-triggered-badge
**Created:** [10월 1, 2016, 9:11오전 UTC](https://meta.discourse.org/t/how-do-i-make-my-own-badge-query/50946 "2016-10-01T09:11:49Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)
#### Post date: [10월 1, 2016, 9:35오전 UTC](https://meta.discourse.org/t/how-do-i-make-my-own-badge-query/50946/2 "2016-10-01T09:35:28Z")

</div>

there is a topic describing other badges:

> [@\[Superseded\] What cool badge queries have you come up with?](https://meta.discourse.org/t/what-cool-badge-queries-have-you-come-up-with/18978):
>
> warning Enabling Badge SQL entails security and performance risks so it is not available by default. For more information, see: [Enable Badge SQL](https://meta.discourse.org/t/badge-sql-can-no-longer-be-edited-by-default/47894) This topic became too long to be easily searched and has been broken down into separate topics. If you have any questions about how to write a badge query, or have one to share, please start a new topic in the #data & reporting category and tag it with the #sql-triggered-badge tag. +1 More ideas: [Some common badge queries](https://meta.discourse.org/t/some-common-badge-queries-idea/31859)

the faq topic for badge (which may not be what you want):

> [@Understanding and using badges](https://meta.discourse.org/t/what-are-badges/32540):
>
> bookmark This guide explains what badges are in Discourse, how they work, and how to use them effectively. person_raising_hand Required user level: All users Badges in Discourse are a key feature that reinforces positive user behavior and facilitates “learning by doing”. They are an integral part of Discourse’s gamification features, designed to encourage and reward user engagement. Summary This guide covers: What badges are and how they work How to receive badges Types and groups of…

creating badge:

> [@Grant a badge to individual users manually](https://meta.discourse.org/t/grant-a-badge-to-individual-users-manually/29426):
>
> bookmark This is a guide for manually granting a custom badge to individual users on Discourse. person_raising_hand Required user level: Administrator In this guide, you’ll learn how to create and manually grant a custom badge to individual users. A new “Scholar” badge will be created as an example. warning This guide is only applicable for custom badges. To manually grant one of Discourse’s built in badges, you will need to follow: [Bulk Award a badge to a set of users](https://meta.discourse.org/t/award-a-badge-to-a-set-of-users/138694)Create a …

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-make-my-own-badge-query/50946)._
