column_1のtable_1が、GENERATED BY DEFAULT識別列であるとします。
INSERT INTO table_2 (column_1, column_2, column_3) VALUES (111,111,111); INSERT INTO table_2 (column_1, column_2, column_3) VALUES (222,222,222); INSERT INTO table_2 (column_1, column_2, column_3) VALUES (1,333,333); INSERT INTO table_1 (column_1, column_2, column_3) SELECT * FROM table_2;
table_1のすべての行を選択して、挿入操作の結果を検査します。
SELECT * FROM table_1; *** Query completed. 3rows found. 3 columns returned. *** Total elapsed time was 1 second. column_1 column_2 column_3 --------- --------- --------- 111 111 111 222 222 222 1 333 333