michoel
02/02/2020, 10:40 PMAND
has precedence over OR
so your condition would have been interpreted as {memo} LIKE '%x%' OR {memo} LIKE '%y%' OR ({memo} LIKE '%z%' AND {postingperiod} = 'Jan 2019')
while you probably intended for ({memo} LIKE '%x%' OR {memo} LIKE '%y%' OR {memo} LIKE '%z%') AND {postingperiod} = 'Jan 2019'