에서 = ID 표에서 ID가 나는 시도 무엇 표 3 AS SELECT 만들기 temporary_bundle_wired
이라는 세 번째 테이블을 만들고 싶습니다. 이 표에서 나는 나 또한 내가 tempoary_bundle_wired
로 이동 한 후 temporary_bundle
에서 레코드를 삭제하려면 temporary_bundle WHERE temporary_bundle.id = wired_items.id
표 2
에서 모든 행 (및 열 및 필드)를 삽입 할.
쿼리 내가 시도 반환 :
duplicate column name Id
http://prntscr.com/gh1vfo. 그래서 쿼리의 각 열에 대해 할 것입니다 ... SELECT 'a_id'로 'temporary_bundle.id', 'user_id', 'room_id'등? – buuencrypted
예. 올바른지 – sdsc81
CREATE TABLE temporary_bundle_wired 'id', 'user_id', 'base_item', 'extra_data', 'x', 'y', 'z', 'rot', 'wall_pos' limited_number ','limited_stack ','sandbox 'FROM temporary_bundle a, wired_items b WHERE a.id = b.id; ... 이것은 temporary_bundle에서 행을 삽입하지 않았습니다. 여기서 temporary_bundle.id = wired_items.id입니다. 그것이 한 것은 http://prntscr.com/gh254q입니다.또한 temporary_bundle에서 해당 필드를 채울 필요가 있습니다. – buuencrypted