SELECT top 25000 p.Id AS [Post Link], p.Title, p.Creation...

0

Please login or register to vote for this query.

(click on this box to dismiss)

SharePoint

Q&A for SharePoint enthusiasts

SELECT top 25000
    p.Id AS [Post Link],
    p.Title,
    p.CreationDate,
    DATEDIFF(MONTH, p.CreationDate, GETDATE()) AS AgeInMonths,
    p.ViewCount AS Views,
    p.AnswerCount,
    p.Score
FROM
    Posts p
JOIN
    PostTags pt ON p.Id = pt.PostId
JOIN
    Tags t ON pt.TagId = t.Id
WHERE
    t.TagName = 'java'
    AND p.PostTypeId = 1
ORDER BY
    p.ViewCount DESC;

Enter Parameters

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