Comments containing string1 but not string2

1

Please login or register to vote for this query.

(click on this box to dismiss)

Mathematics

Q&A for people studying math at any level and professionals in related fields

SELECT Id AS [Comment Link], text, UserId AS [User Link], CreationDate
FROM Comments
WHERE Text LIKE '%##string1##%'
  AND NOT(Text LIKE '%##string2##%') 
ORDER BY CreationDate DESC

Enter Parameters

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