Application scenario: Sometimes data needs to be migrated from the old table to the new table
SQL:
INSERT INTO tableA
(fieldA1, fieldA2, fieldA3)
SELECT
fieldB1, fieldB2, fieldB3
FROM
tableB
Application scenario: Sometimes data needs to be migrated from the old table to the new table
INSERT INTO tableA
(fieldA1, fieldA2, fieldA3)
SELECT
fieldB1, fieldB2, fieldB3
FROM
tableB