Testing

0

Please login or register to vote for this query.

(click on this box to dismiss)

Joomla

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

select cast(avg(a.questions) as float)  from (
select parentid, count(*) questions from posts where posttypeid = 2 and parentid is not null
and datepart(year,creationdate) = 2015
group by parentid ) a

Enter Parameters

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