sql:select submenuitems.*,headermenu.menuheader from submenuitems,headermenu where submenuitems.menuid=34 and submenuitems.menuid=headermenu.id