Query is:select * from link_page where (heading='newsletter' or friendly_url='newsletter') and pagehead='s' and status='active'