# A query for users with a custom title?

**URL:** <https://meta.discourse.org/t/a-query-for-users-with-a-custom-title/275004>\
**Category:** Data & reporting\
**Tags:** sql-query\
**Created:** [October 14, 2016, 8:50pm UTC](https://meta.discourse.org/t/a-query-for-users-with-a-custom-title/275004 "2016-10-14T20:50:11Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [October 15, 2016, 6:07pm UTC](https://meta.discourse.org/t/a-query-for-users-with-a-custom-title/275004/5 "2016-10-15T18:07:24Z")

</div>

> [@fefrei](#):
>
> I’m not sure how this query handles titles granted by group membership, though.

Nor am I. However, this accomplishes our goal. For some background: we currently don’t have any badge\_granted\_titles available to users, as we have no custom badges, the only titles are regular and leader, and we’ve “disabled” TL3. We have granted titles in the past to exceptional community members. The community started asking about titles, so the mod team started discussing options. One thing that was agreed upon is that we wanted the custom titles to stand out from the “everyday” badge\_granted\_titles. To apply CSS to them, we needed to add all the users to a group, hence the request for a query to select them.

---

_[View the full topic](https://meta.discourse.org/t/a-query-for-users-with-a-custom-title/275004)._
