How many comments do I have for each score.
Q&A for enthusiasts and scholars of mythology and folklore
DECLARE @UserId int = ##UserId## SELECT vt.Name, v.* FROM Votes as v JOIN Users as u ON u.Id = v.UserId AND u.DisplayName like 'Eric Lippert' JOIN VoteTypes vt on vt.Id = v.VoteTypeId