Votes on questions year on year

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 YEAR(v.CreationDate) year, 
-- YEAR(p.CreationDate) question_year, 
format(count(*),'0,,.00 Million') votes

FROM Votes v
--JOIN Posts p on v.postId = p.id
group by YEAR(v.CreationDate)
--, YEAR(p.CreationDate) 
order by year asc

Enter Parameters

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