How many people liked each of my comments?
Q&A about the site for builders and users of networked sensors and control devices in the contexts of smart homes, industry automation, or environmental sensors
-- My Comment Scores -- How many people liked each of my comments? DECLARE @UserId int = ##UserId## SELECT PostId as [Post Link], Score, Text FROM Comments WHERE UserId = @UserId and Score > 0 ORDER BY Score DESC