mean answer score as function of response time

0

Please login or register to vote for this query.

(click on this box to dismiss)

EOS.IO

Q&A for users and developers of distributed applications built on top of the blockchain operating system, EOS.IO

with a as (
  select
     pa.Score,
     pq.CreationDate as question_date,
     pa.CreationDate as answer_date,
     DATEDIFF(hh, pq.CreationDate, pa.CreationDate) daydiff
  from Posts pa
  join Posts pq on pa.ParentId = pq.Id
)

select daydiff, avg(1.00*Score) quality from a
where daydiff >=0 and daydiff <= 300
group by daydiff
order by daydiff

Enter Parameters

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