Least noticed questions

0

Please login or register to vote for this query.

(click on this box to dismiss)

The questions with the lowest views/day

Stack Overflow

Q&A for programmers

-- Least noticed questions
-- The questions with the lowest views/day

SELECT TOP 20
p.Score, p.Id AS [Post Link], p.ViewCount, DATEDIFF(day, p.CreationDate, GETUTCDATE()) as DaysOld, (p.ViewCount / CAST(DATEDIFF(day, p.CreationDate, GETUTCDATE()) AS float)) as ViewsPerDay, p.Tags
FROM Posts p
WHERE
p.PostTypeId = 1
ORDER BY (p.ViewCount / CAST(DATEDIFF(day, p.CreationDate, GETUTCDATE()) AS float))

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results
:records returned in :time ms:cached