SELECT --AVG(Users.Reputation), Users.Reputation, PERCENT...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Science Fiction and Fantasy

Q&A for science fiction and fantasy enthusiasts

SELECT --AVG(Users.Reputation), 
Users.Reputation,
PERCENTILE_CONT(0.5) 
WITHIN GROUP(ORDER BY Users.Reputation)
        OVER (PARTITION BY Posts.PostTypeId) --AS MedianCont
        as median
        --, Users.DisplayName, Posts.Id as [Post Link], Posts.Title, Posts.CreationDate  
FROM
Users
INNER JOIN
Posts
ON Users.Id = Posts.OwnerUserId
WHERE (Posts.PostTypeId = 1)
AND
(Posts.CreationDate > '2024-05-01')

Enter Parameters

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