insert into
select no, name, homepage, CONCAT_WS(‘ ‘, subject, memo) body, password, reg_date, ip
from zetyx_board_freeboard where depth = 1
위 쿼리 마지막 depth = 1에서 숫자 1을 증가시켜 가면서 실행
t3_tts_guest
(no, name, homepage, body, password, regdate, ip)select no, name, homepage, CONCAT_WS(‘ ‘, subject, memo) body, password, reg_date, ip
from zetyx_board_freeboard where depth = 1
위 쿼리 마지막 depth = 1에서 숫자 1을 증가시켜 가면서 실행
insert into t3_tts_guest_reply
(no, pno, name, body, password, regdate, ip)
select no, parent, name, memo body, password, reg_date, ip
from zetyx_board_comment_freeboard