SELECT DATENAME(dw, Votes.CreationDate) AS Day, COUNT(*...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Chess Meta

Q&A about the site for serious players and enthusiasts of chess

-- Enter Query Title
-- Enter Query Description


    SELECT
        DATENAME(dw, Votes.CreationDate) AS Day,
        COUNT(*) OVER(PARTITION BY DATENAME(dw, Votes.CreationDate)) AS Count
        FROM Posts
        INNER JOIN Votes ON Votes.PostId = Posts.Id
        WHERE Votes.VoteTypeId = 1

Enter Parameters

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