Q&A for linguists, teachers, and students wanting to discuss the finer points of the Latin language
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