find specific characters in the body of posts with a tag

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.score
 , p.id as [Post Link]
from posts p
inner join posttags pt on pt.postid = p.id
inner join tags t on t.id = pt.tagid
-- left outer join posts a on a.parentid = p.id
where t.tagname = 'python'
and p.body like '%list%'
and p.body like '%+=%'
-- adding answers breaks it :(
-- or (a.body like '%list%'
-- and a.body like '%+=%')

Enter Parameters

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