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