Worst comments per user

3

Please login or register to vote for this query.

(click on this box to dismiss)

スタック・オーバーフロー

プログラマーとプログラミングに熱心な人々のための質問と回答

select postid as [Post Link], max(text), sum(500+round((datediff(day, comments.creationDate, current_timestamp)*1.0)/datediff(day, users.creationdate, current_timestamp)*1000.0,0) + score * -1000) as commentScore 
from comments join users on (comments.userid = users.id)
where comments.userid = ##UserID##
group by postid
order by commentScore desc

Enter Parameters

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