Q&A for students, teachers, polyglots, and anyone interested in the techniques of second-language acquisition
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