select cat from directory where is_archived=0 and site_url != '' and (city='eglin afb' OR city='eglin_afb') and (state='FL' OR state='Florida')
select cat from directory where is_archived=0 and site_url != '' and (city='eglin afb' OR city='eglin_afb') and (state='FL' OR state='Florida')
union
select cat from affiliate_directory where is_archived=0 and site_url != '' and (FIND_IN_SET('eglin_afb', city) OR city='all' ) and (state='FL' OR state='Florida' OR state='all')