If what you are trying to do is exclude all 3 of those states you *MUST* do it thus:
Code:
( ua LIKE '%spider%' || NOT ( state LIKE 'Florida' || state LIKE 'Maine' || state LIKE 'New York' ) )
*** HOWEVER ***
You should *NEVER* use LIKE (or NOT LIKE) unless you have wild card characters (e.g., % character[s]) in the string being checked.
So you *REALLY* should code that as:
Code:
( ua LIKE '%spider%' || NOT ( state = 'Florida' || state = 'Maine' || state = 'New York' ) )
Except NOW you can collapse that down to the simpler and more efficient
Code:
( ua LIKE '%spider%' || state NOT IN ( 'Florida','Maine','New York' ) )