Q&A about the site for musicians, students, and enthusiasts
DECLARE @UserId int = ##UserId## select * from Votes where PostId in (select Id from Posts where OwnerUserId = @UserId);