SO Stat


Please login or register to vote for this query.

(click on this box to dismiss)


Q&A for Joomla! administrators, users, developers and designers

select convert(decimal(15,3),count(*)) as Count, sum(Score) / convert(decimal(15,3),count(*)) as AverageQuestionScore
from Posts as Q where Q.posttypeid = 1 AND CreationDate >= '2019-06-26'
       AND CreationDate < '2019-07-20'
select sum(Score) / convert(decimal(15,3),count(*)) as AverageAnswerScore
from Posts as Q where Q.posttypeid = 2 AND CreationDate >= '2019-06-26'
       AND CreationDate < '2019-07-20'

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results