Edited out swearing

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select p.id as [Post Link], p.Title, p.Tags
from Posts p
where p.Tags not like '%brainfuck%'
  and p.Body not like '%##word##%'
  and exists (
      select 1
      from PostHistory
      where PostId = p.Id
        and Text like '%##word##%')
order by p.Title

Enter Parameters

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