Median views per day in the [joomla] tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Psychology & Neuroscience Meta

Q&A about the site for practitioners, researchers, and students in cognitive science, psychology, neuroscience, and psychiatry

with
  views_days as (
    select
      cast(viewcount as float) as views,
      datediff(day, creationdate, GetDate()) as age_in_days
    from
      posts p
        join
      posttypes pt on p.posttypeid = pt.id
    where
      pt.name = 'Question'
        and p.tags like '%<joomla>%'
  )
select
  round(avg(views / age_in_days), 3) as average_views_per_day
from
  views_days;

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results