I have a query where I ask it to bring me information except for a specific one.
Is there a way to reduce the number of NOT LIKE and include it all in the same pattern?
PD: I'm using Redshift AWS.
SELECT distinct action_url
from event_public
WHERE action_url like '%int/about/%/offices%'
and action_url not LIKE '%russia%'
and action_url not LIKE '%japan%'
and action_url not LIKE '%brazil%'
and action_url not LIKE '%china%'
and action_url not LIKE '%singapore%'
and action_url not LIKE '%nigeria%'
and action_url not LIKE '%algeria%'
and event_action ='Pageview'