instruction: Time to vote CDF for answers.
response: SELECT MAX(h.t) AS "time", h.pm AS "Permille of total votes (all types) on answers over time" FROM (SELECT q.t AS t, NTILE(1000) OVER (ORDER BY q.t) AS pm FROM (SELECT pf.CreationDate - p.CreationDate AS t FROM Posts AS p JOIN PostFeedback AS pf ON p.Id = pf.PostId WHERE p.PostTypeId = 2) AS q) AS h WHERE h.t <= '23:59:59' GROUP BY h.pm ORDER BY h.pm