Need help with an SQL badge query

It is a feature, ask @sam about it.