Best Puzzles (All Time)

0

Please login or register to vote for this query.

(click on this box to dismiss)

Project Management

Q&A for project managers

select top(100) 
ROUND(0.001 * POWER(q.Score,1.3)/10 * POWER(q.ViewCount,0.3) * (q.CommentCount+3)/3,2) as OVERALL,
q.Id as [Post Link], q.OwnerUserId as [User Link],
q.Score,
POWER(q.Score,1.3)/10 as ScoreNorm,
q.ViewCount,
POWER(q.ViewCount,0.3) as ViewNorm, 
q.CommentCount,
(q.CommentCount+3)/3 as CommNorm,
q.AnswerCount as Answers,
12.5-POWER(POWER(4.15-POWER(q.AnswerCount,1.3),2),0.3) as AnsNorm,
ROUND(SUM(p.Score)/(q.AnswerCount+0.1),2) as AnsAve,
(12.5-POWER(POWER(4.15-POWER(q.AnswerCount,1.3),2),0.3))*POWER((ROUND(SUM(p.Score)/(q.AnswerCount+0.1),2)),0.5) as AnsScore
from Posts q
inner join Posts p
on p.ParentId = q.Id
where q.PostTypeId = 1
and q.AcceptedAnswerId is not null
and q.Score > 0
and q.CommentCount > 0
and q.ViewCount > 0
and q.CreationDate > DATEFROMPARTS(##sinceyear?2013##,01,01) 
group by q.Id, q.OwnerUserId, q.CommentCount, q.CreationDate, q.Tags, q.Score, q.ViewCount, q.AnswerCount, p.ParentId
order by OVERALL desc

Enter Parameters

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