dataexplorer - Could someone write a SE data query for finding Revival candidates? -
Can someone write questions that filters all questions except for all those & gt; 30 days old and whose score is 2 score or more? I posted this question, and somebody suggested that I will ask it here.
This seems to work:
SELECT TOP 100 PIID AS [Post link], p. * Post from WHERE p.PostTypeId = 1 and p.CreationDate & lt; GETDATE () - 30 and p.ClosedDate are zero and do not exist (select from posts P2 WHERE p2.ParentId = p.Id and p2.Score & gt; = 2 and p2.PostTypeId = 2) By order p.CreationDate DESC I also added a criteria for not including closed questions. One ????
Comments
Post a Comment