Posts with word1 but not word2

1

Please login or register to vote for this query.

(click on this box to dismiss)

Cognitive Sciences Meta

Q&A about the site for practitioners, researchers, and students in cognitive science, psychology, neuroscience, and psychiatry

SELECT
p.Id As [Post Link]
FROM Posts p  
WHERE (p.Body Like '%##word1?right##%')
AND NOT (p.Body Like '%##word2?left##%')
ORDER BY p.Id DESC

Enter Parameters

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