instruction: Number of [vote type] on [post type] posted by users under [reputation].
response: SELECT FLOOR(Users.Reputation / 10) * 10 AS "reputation_interval", COUNT(CAST(Votes.Id AS INT)) FROM Posts INNER JOIN Users ON Posts.OwnerUserId = Users.Id INNER JOIN Votes ON Votes.PostId = Posts.Id WHERE Posts.PostTypeId = @postType AND Users.Reputation <= @reputation AND Votes.VoteTypeId = @voteType GROUP BY FLOOR(Users.Reputation / 10) * 10 ORDER BY FLOOR(Users.Reputation / 10) * 10