# User badge counts with badge name filter

**URL:** <https://meta.discourse.org/t/user-badge-counts-with-badge-name-filter/168098>\
**Category:** Data & reporting\
**Tags:** sql-query\
**Created:** [October 19, 2020, 2:27pm UTC](https://meta.discourse.org/t/user-badge-counts-with-badge-name-filter/168098 "2020-10-19T14:27:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![alefattorini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alefattorini/32/119928_2.png) [@alefattorini](https://meta.discourse.org/u/alefattorini)\
**Post date:** [October 22, 2020, 2:38pm UTC](https://meta.discourse.org/t/user-badge-counts-with-badge-name-filter/168098/2 "2020-10-22T14:38:14Z")

</div>

Any hint on this? I tried to add a line  
AND b.id = 136

But it doesn’t work

---

_[View the full topic](https://meta.discourse.org/t/user-badge-counts-with-badge-name-filter/168098)._
