Number of Post per Day for one Tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Meta Stack Overflow

Q&A about the site for professional and enthusiast programmers

SELECT --TOP 20 
    CAST(FLOOR(CAST(CreationDate AS float)) AS DATETIME),
    COUNT(*)/100 AS questions
 FROM Tags
    INNER JOIN PostTags ON PostTags.TagId = Tags.id
    INNER JOIN Posts ON Posts.ParentId = PostTags.PostId
WHERE 
    Tags.tagname = 'sql'
GROUP BY CAST(FLOOR(CAST(CreationDate AS float)) AS DATETIME)
ORDER BY CAST(FLOOR(CAST(CreationDate AS float)) AS DATETIME) ASC

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results