My Comments, ordered by Score 2
Q&A for professional and enthusiast programmers
-- My comments, ordered by score (Pundit badge progress) DECLARE @UserId int = ##UserId## SELECT Comments.Id as [Comment Link], Comments.CreationDate FROM Comments /*join Posts on Comments.PostId = Posts.Id left join Posts as Q on Posts.ParentId = Q.Id*/ WHERE UserId = @UserId and Comments.Score > 3 ORDER BY Comments.CreationDate DESC