pbm statistics

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mythology Meta

Q&A about the site for enthusiasts and scholars of mythology and folklore

SELECT
  PostTypeId, D Dia, M Mes, Y Anyo, COUNT(PostTypeId) Posts, SUM(Score) Reputation, SUM(Score) / COUNT(PostTypeId) Ratio
FROM
(
  SELECT
    DAY(CreationDate) D, MONTH(CreationDate) M, YEAR(CreationDate) Y, PostTypeId, Score
  FROM
    Posts
  WHERE
    OwnerUserId = 2742 AND
    (PostTypeId IN (1, 2) OR
    Score > 0)
) X
GROUP BY
  PostTypeId, D, M, Y
ORDER BY
  PostTypeId, (Y * 10000 + M * 100 + D)

Enter Parameters

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