Votes cast by age

0

Please login or register to vote for this query.

(click on this box to dismiss)

Worldbuilding

Q&A for writers/artists using science, geography and culture to construct imaginary worlds and settings

SELECT Age,
  COUNT(Age) AS [Number],
  SUM(UpVotes + DownVotes) AS [Votes],
  SUM(UpVotes) AS [Upvotes],
  SUM(DownVotes) AS [Downvotes]
  FROM Users
WHERE DateDiff(month, -12, GetDate()) < LastAccessDate
AND Age <> 0
AND AccountId <> -1
Group By Age Order By Age

Enter Parameters

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