Questions with tag1 and not tag2

1

Please login or register to vote for this query.

(click on this box to dismiss)

Computational Science

Q&A for scientists using computers to solve scientific problems

SELECT TOP(##num?500##)
  p.Id AS [Post Link],
  p.Title,
  p.Score,
  p.ViewCount,
  p.AnswerCount,
  p.CreationDate,
  p.Tags
FROM Posts p INNER JOIN PostTags pt1 ON p.Id=pt1.PostId
  INNER JOIN Tags t1 ON t1.id = pt1.TagId
WHERE (t1.TagName=##tagname1:string?set-theory##)   AND p.Id NOT IN(
  SELECT pt2.PostId FROM PostTags pt2 INNER JOIN Tags t2 ON t2.id = pt2.TagId
  WHERE (t2.TagName=##tagname2:string?axiom-of-choice##)
  )
ORDER BY p.CreationDate DESC

Enter Parameters

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