ApacheTag for Project

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physics

Q&A for active researchers, academics and students of physics

SELECT TOP 8000 *
FROM 
(
  SELECT Id, PostTypeId, Body, Title, Score, CreationDate, ClosedDate
  FROM Posts
  WHERE PostTypeId = 1
    AND CreationDate BETWEEN '2017-01-01' AND '2017-12-31'
)AS post
INNER JOIN
(
  SELECT ptag.PostId as PostId, tag.TagName as Tag
  FROM PostTags AS ptag
  INNER JOIN Tags as tag
    ON tag.Id = ptag.TagId
    AND tag.TagName = 'apache'
  GROUP BY ptag.PostID, tag.TagName
) AS postTag
ON post.Id = postTag.PostId
ORDER BY post.Score DESC

Enter Parameters

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