Show top posts by views since last year

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu

Q&A for Ubuntu users and developers

-- show top posts by views since last year
SELECT TOP 50 Title, ViewCount, Score, Tags, CommentCount
FROM Posts
WHERE CreationDate > DATEADD(year, -1, GETDATE())
AND Tags IN ('PowerShell', 'SQL-Server', 'ssms')
ORDER BY ViewCount DESC;

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results