简体   繁体   中英

Insert values returned from SQL query to another table

The returned structure of an SQL query is: id | label id | label

I've created a table with the same structure, how to insert the returned lines to this new table.

INSERT INTO new_table (id, label)
<put select query here>

插入SecondTable(id,标签),从OriginalTable中选择id,标签;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM