คำถามที่มีการโหวต X จำนวน..ไม่จำเป็นต้องใช้ทุกตาราง
Questions with X amount of votes..It is not neccessary to use all the tables.
 PendingFlags:  Id [ number]  FlagTypeId [ number]  PostId [ number]  CreationDate [ time]  CloseReasonTypeId [ number]  CloseAsOffTopicReasonTypeId [ number]  DuplicateOfQuestionId [ number]  BelongsOnBaseHostAddress [ text] 
SELECT p.Id AS "post_link", p.Score, (SELECT COUNT(v.Id) FROM Votes AS v WHERE v.VoteTypeId IN (2, 3) AND v.PostId = p.Id) AS VoteCount, p.CreationDate FROM Posts AS p WHERE p.Score < '##ScoreInput##' AND (p.CreationDate < GETDATE() AND p.CreationDate > DATEADD(day, -'##DaysAgo##', GETDATE())) ORDER BY p.CreationDate DESC