select cat from directory where is_archived=0 and site_url != '' and (city='riverside' OR city='riverside') and (state='WA' OR state='Washington')
select cat from directory where is_archived=0 and site_url != '' and (city='riverside' OR city='riverside') and (state='WA' OR state='Washington')
union
select cat from affiliate_directory where is_archived=0 and site_url != '' and (FIND_IN_SET('riverside', city) OR city='all' ) and (state='WA' OR state='Washington' OR state='all')