how long before I get tag badges?
Q&A about the site for administrators, end users, developers and designers for Craft CMS
--select count(Id) from Posts
--where not exists(select PostId from Votes where Posts.Id = Votes.PostId
--and Votes.VoteTypeId = 2) and Posts.PostTypeId = 2
select count(id) from Posts where PostTypeId = 2