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

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

Enter Parameters

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