Q&A for anime and manga fans
WITH ViewBins AS ( SELECT FLOOR(ViewCount / 1000) * 1000 AS ViewBin FROM Posts WHERE PostTypeId = 1 -- 1은 질문을 나타냅니다 ) SELECT ViewBin, COUNT(*) AS Frequency FROM ViewBins GROUP BY ViewBin ORDER BY ViewBin