Q&A for electronics and electrical engineering professionals, students, and enthusiasts
declare @UserId int = ##UserId## select COUNT(*) from votes WHERE UserId = @UserId