AngularJS ViewCount by Post

0

Please login or register to vote for this query.

(click on this box to dismiss)

Drupal Answers

Q&A for Drupal developers and administrators

SELECT 
  datepart(year, CreationDate) as 'year',
  id, ViewCount
FROM (
  SELECT CreationDate, id, ViewCount FROM Posts
  WHERE Tags like '%angularjs%'
  and CreationDate between '2012-01-01' and '2021-12-31'
) as tb

ORDER BY 1 ASC, tb.CreationDate ASC;

Enter Parameters

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