Q&A for professional and enthusiast programmers
select top 100 * from posts p inner join votes v on v.postid = p.id and v.votetypeid in (2,3)