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_per_day as (
    select
      cast(viewcount as float) / datediff(day, creationdate, GetDate()) as vpd
    from
      posts
    where
      posttypeid = 1
        and tags like '%<joomla>%'
  )
select
  percentile_disc(0.5)
      within group (order by vpd)
      over (partition by 1) 
    as mvpd
from
  views_per_day;

Enter Parameters

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