INSERT INTO db1.target_table_population (city, country, continent, population)SELECT city, country, continent, 0 FROM db1.source_table;
查看目标表中的数据
SELECT * FROM db1.target_table_population LIMIT 3;
┌─city──────┬─country───┬─continent──────┬─population─┐│ New York │ USA │ North America │ 0 ││ Tokyo │ Japan │ Asia │ 0 ││ Berlin │ Germany │ Europe │ 0 │└───────────┴───────────┴────────────────┴────────────┘