# Locked query field for system badges

**URL:** <https://meta.discourse.org/t/locked-query-field-for-system-badges/83415>\
**Category:** Product Support\
**Tags:** badges\
**Created:** [March 20, 2018, 4:44pm UTC](https://meta.discourse.org/t/locked-query-field-for-system-badges/83415 "2018-03-20T16:44:25Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![iidbae](https://avatars.discourse-cdn.com/v4/letter/i/a183cd/32.png) [@iidbae](https://meta.discourse.org/u/iidbae)\
**Post date:** [March 20, 2018, 4:44pm UTC](https://meta.discourse.org/t/locked-query-field-for-system-badges/83415/1 "2018-03-20T16:44:25Z")

</div>

This is my first topic after become a member here since 222 days ago.

1. How to copy-paste this code?  

2. I want to give a badge for 25 successful invitations. So, I only need change the value` HAVING COUNT (*) >= 5` into `HAVING COUNT (*) >= 25`, and give a Gold badge type too. Am I right?

I found similar topic ["Promoter" Badge broken?](https://meta.discourse.org/t/promoter-badge-broken/34413) but I just want to confirm, because I am not a really understand in coding.

Sorry for my stupid question.

---

_[View the full topic](https://meta.discourse.org/t/locked-query-field-for-system-badges/83415)._
