SELECT CAST(CreationDate AS Date), COUNT(*) c, SUM(COUNT(...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT CAST(CreationDate AS Date), COUNT(*) c, 
  SUM(COUNT(*)) OVER (ORDER BY CAST(CreationDate AS Date)) RunningCount, 
  ROW_NUMBER() OVER (ORDER BY CAST(CreationDate AS Date)) FROM Posts
WHERE PostTypeId = 1
AND Tags LIKE '%<swift>%' AND CreationDate > '2014-06-01'
GROUP BY CAST(CreationDate AS Date)
ORDER BY CAST(CreationDate AS Date)

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results