Q&A about the site for administrators and users of the CiviCRM Constituent Relationship Management software
DECLARE @UserId int = ##UserId## -- Enter Query Title -- Enter Query Description --select * from VoteTypes; select Votes.*, PostId as [Post Link] from Votes where PostId in (select Id from Posts where OwnerUserId = @UserId);