Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は1つのテーブルテストを持っており、20行の10列があります。
このデータを 11 列の archive_test テーブルに移動する必要があります (10 列は test テーブルと同じで、1 列はアーカイブ日です)。
以下のように挿入しようとすると、列の数が一致しないためエラーが表示されます。
insert into archive_test select * from test;
これを行うためのより良い方法を提案してください.Thank!