Q&A for teachers and students of the Esperanto language
--Querying Posts that contain "architecture" term
-- and Comments with contain "useful" or "helpful"
select top 100 p.Id as [Post Link],p.body, c.Id as [Comment Link],c.Text
from Posts p
JOIN Comments c ON p.Id = c.PostId
where (p.body like '%architect%' or Title like '%architect%') and
(Text like '%useless%'or Text like '%unhelpful%')and AnswerCount <>0