West Wareham, Massachusetts Zip Codes: 02571,02576
select cat from directory where is_archived=0 and site_url != '' and (city='west wareham' OR city='west_wareham') and (state='MA' OR state='Massachusetts')
select cat from directory where is_archived=0 and site_url != '' and (city='west wareham' OR city='west_wareham') and (state='MA' OR state='Massachusetts')
union
select cat from affiliate_directory where is_archived=0 and site_url != '' and (FIND_IN_SET('west_wareham', city) OR city='all' ) and (state='MA' OR state='Massachusetts' OR state='all')
181,168,1224,227,107,80,791,867,56,1
select id,category_name,cat_img,catslug from directory_category where is_archived=0 and category_type='1' and id IN (56,1) ORDER BY `catorder` ASC Limit 0,2
(select id,site_url,local_address,com_name, COUNT(site_url) as com_num from directory
where is_archived=0 and site_url != '' and (city='forman township' OR city='forman_township') and (state='ND' OR state='North Dakota') and cat='1' and sub_cat='24' and (sub_sub IS NULL OR sub_sub=0 )
Group by site_url order by com_name asc limit 0,100)
union
(select id,site_url,local_address,affiliate_name as com_name, COUNT(site_url) as com_num from affiliate_directory
where is_archived=0 and site_url != '' and (FIND_IN_SET('forman_township', city) OR city='all' ) and (state='ND' OR state='North Dakota' OR state='all') and cat='1' and sub_cat='24' and (sub_sub IS NULL OR sub_sub=0 )
GROUP BY site_url order by com_name asc)
(select id,site_url,local_address,com_name, COUNT(site_url) as com_num from directory
where is_archived=0 and site_url != '' and (city='forman township' OR city='forman_township') and (state='ND' OR state='North Dakota') and cat='56' and sub_cat='869' and (sub_sub IS NULL OR sub_sub=0 )
Group by site_url order by com_name asc limit 0,100)
union
(select id,site_url,local_address,affiliate_name as com_name, COUNT(site_url) as com_num from affiliate_directory
where is_archived=0 and site_url != '' and (FIND_IN_SET('forman_township', city) OR city='all' ) and (state='ND' OR state='North Dakota' OR state='all') and cat='56' and sub_cat='869' and (sub_sub IS NULL OR sub_sub=0 )
GROUP BY site_url order by com_name asc)