select member.MB_CODE,member.MB_NAME,member.MB_SURNME,memberpoint.membercode,memberpoint.memberpoint from member,memberpoint where member.MB_CODE = memberpoint.membercode
insert into summemberpoint
select member.MB_CODE,member.MB_NAME,member.MB_SURNME,memberpoint.membercode,memberpoint.memberpoint from member,memberpoint where member.MB_CODE = memberpoint.membercode