技術情報 / MySQL / SQL / INSERT

INSERT

SELECT結果でINSERT

INSERT INTO users (user_id, password, status) SELECT user_id, login_id, password, 1 FROM users2;