Q&A for theoretical computer scientists and researchers in related fields
SELECT q.Id as [Post Link], q.Tags, q.Title, q.Body, a.Body, q.Score, a.Score FROM Posts q LEFT JOIN Posts a ON a.Id=q.AcceptedAnswerId AND a.PostTypeId=2 WHERE q.PostTypeId = 1 AND q.Score>0 AND a.Score>0 AND q.Tags LIKE '%##TagName1##%' ORDER BY q.CreationDate DESC