Q&A about the site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation
DECLARE @minscroe int = ##minscore## --DECLARE @UserId int = ##UserId## select p.id from posts p inner join votes v on p.id = v.postid where score >= @minscroe and posttypeid = 2