엑스엠엘님 알려주신데로 다시 수정을 해서 아래와 같이 수정했습니다
insert into sunjang.g5_member ( mb_id,mb_password,mb_password2,mb_name,mb_nick,mb_nick_date,mb_email,mb_homepage,mb_level,mb_sex,mb_birth,mb_tel,mb_hp,mb_certify,mb_adult,mb_dupinfo,mb_zip1,mb_zip2,mb_addr1,mb_addr2,mb_addr3,mb_addr_jibeon,mb_signature,mb_recommend,mb_point,mb_today_login,mb_login_ip,mb_datetime,mb_ip,mb_leave_date,mb_intercept_date,mb_email_certify,mb_email_certify2,mb_memo,mb_lost_certify,mb_mailling,mb_sms,mb_open,mb_open_date,mb_profile,mb_memo_call,mb_memo_cnt,mb_scrap_cnt,mb_1,mb_2,mb_3,mb_4,mb_5,mb_6,mb_7,mb_8,mb_9.mb_10)
select a.mb_id,a.mb_password,a.mb_password2,a.mb_name,a.mb_nick,a.mb_nick_date,a.mb_email,a.mb_homepage,a.mb_level,a.mb_sex,a.mb_birth,a.mb_tel,a.mb_hp,a.mb_certify,a.mb_adult,a.mb_dupinfo,a.mb_zip1,a.mb_zip2,a.mb_addr1,a.mb_addr2,a.mb_addr3,a.mb_addr_jibeon,a.mb_signature,a.mb_recommend,a.mb_point,a.mb_today_login,a.mb_login_ip,a.mb_datetime,a.mb_ip,a.mb_leave_date,a.mb_intercept_date,a.mb_email_certify,a.mb_email_certify2,a.mb_memo,a.mb_lost_certify,a.mb_mailling,a.mb_sms,a.mb_open,a.mb_open_date,a.mb_profile,a.mb_memo_call,a.mb_memo_cnt,a.mb_scrap_cnt,a.mb_1,a.mb_2,a.mb_3,a.mb_4,a.mb_5,a.mb_6,a.mb_7,a.mb_8,a.mb_9.a.mb_10 from test1.g5_member a left join sunjang.g5_member b on a.mb_id=b.mb_id where b.mb_id is null
그리고 다시 phpmyadmin 에 sunjang 데이타베이스에 들어가서 SQL 탭에 넣고 실행을 누르니 아래와 같이 오류메세지가 나옵니다.?
뭐가 잘못된것인가요.?
오류
정적 분석 :
분석 중에 1개의 오류가 발생했습니다.
예상되지 않은 점(.)입니다. (near "." at position 1178)
SQL 질의: 문서
insert into sunjang.g5_member ( mb_id,mb_password,mb_password2,mb_name,mb_nick,mb_nick_date,mb_email,mb_homepage,mb_level,mb_sex,mb_birth,mb_tel,mb_hp,mb_certify,mb_adult,mb_dupinfo,mb_zip1,mb_zip2,mb_addr1,mb_addr2,mb_addr3,mb_addr_jibeon,mb_signature,mb_recommend,mb_point,mb_today_login,mb_login_ip,mb_datetime,mb_ip,mb_leave_date,mb_intercept_date,mb_email_certify,mb_email_certify2,mb_memo,mb_lost_certify,mb_mailling,mb_sms,mb_open,mb_open_date,mb_profile,mb_memo_call,mb_memo_cnt,mb_scrap_cnt,mb_1,mb_2,mb_3,mb_4,mb_5,mb_6,mb_7,mb_8,mb_9.mb_10) select a.mb_id,a.mb_password,a.mb_password2,a.mb_name,a.mb_nick,a.mb_nick_date,a.mb_email,a.mb_homepage,a.mb_level,a.mb_sex,a.mb_birth,a.mb_tel,a.mb_hp,a.mb_certify,a.mb_adult,a.mb_dupinfo,a.mb_zip1,a.mb_zip2,a.mb_addr1,a.mb_addr2,a.mb_addr3,a.mb_addr_jibeon,a.mb_signature,a.mb_recommend,a.mb_point,a.mb_today_login,a.mb_login_ip,a.mb_datetime,a.mb_ip,a.mb_leave_date,a.mb_intercept_date,a.mb_email_certify,a.mb_email_certify2,a.mb_memo,a.mb_lost_certify,a.mb_mailling,a.mb_sms,a.mb_open,a.mb_open_date,a.mb_profile,a.mb_memo_call,a.mb_memo_cnt,a.mb_scrap_cnt,a.mb_1,a.mb_2,a.mb_3,a.mb_4,a.mb_5,a.mb_6,a.mb_7,a.mb_8,a.mb_9.a.mb_10 from test1.g5_member a left join sunjang.g5_member b on a.mb_id=b.mb_id where b.mb_id is null
MySQL 메시지: 문서
#1064 - 'SQL 구문에 오류가 있습니다.' 에러 같습니다. ('.mb_10 from test1.g5_member a left join sunjang.g5_member b on a.mb_id=b.mb_i...' 명령어 라인 2)