DECLARE @DataDumpDate AS datetime SELECT @DataDumpDate =...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

DECLARE @DataDumpDate AS datetime
SELECT  @DataDumpDate = MAX(CreationDate)
FROM    PostHistory

select p.id as [Post Link], p.ViewCount
from Posts p
where ViewCount < 100 and datediff(day, CreationDate, @DataDumpDate) > 7*ViewCount and AnswerCount = 0 and Title <> 'unknown'
order by ViewCount/datediff(day, CreationDate, @DataDumpDate) asc

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results