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

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, 
  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>%'
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