/answer หลังจาก N วันโดยผู้ใช้ ไม่จำเป็นต้องใช้ตารางทั้งหมด
/answer after N days by user.It is not neccessary to use all the tables.
 CloseAsOffTopicReasonTypes:  Id [ number]  IsUniversal [ boolean]  InputTitle [ text]  MarkdownInputGuidance [ text]  MarkdownPostOwnerGuidance [ text]  MarkdownPrivilegedUserGuidance [ text]  MarkdownConcensusDescription [ text]  CreationDate [ time]  CreationModeratorId [ number]  ApprovalDate [ time]  ApprovalModeratorId [ number]  DeactivationDate [ time]  DeactivationModeratorId [ number] 
SELECT fp.OwnerUserId AS "user_link", p1.Id AS "post_link", SUM(CASE WHEN v.VoteTypeId = 2 THEN 1 WHEN v.VoteTypeId = 3 THEN -1 ELSE 0 END) AS ScoreThen FROM (SELECT p.OwnerUserId, MIN(p.CreationDate) AS dateFirstPost FROM Posts AS p WHERE p.PostTypeId = '##Choose1forQ2forA##' GROUP BY p.OwnerUserId) AS fp INNER JOIN Posts AS p1 ON p1.CreationDate = fp.dateFirstPost AND p1.OwnerUserId = fp.OwnerUserId INNER JOIN Votes AS v ON v.PostId = p1.Id AND DATEDIFF(d, p1.CreationDate, creationdate) <= '##N##' AND (v.VoteTypeId = 2 OR v.VoteTypeId = 3) GROUP BY fp.OwnerUserId, p1.Id ORDER BY SUM(CASE WHEN v.VoteTypeId = 2 THEN 1 WHEN v.VoteTypeId = 3 THEN -1 ELSE 0 END) DESC