[英]Insert values returned from SQL query to another table
The returned structure of an SQL query is: id | label
SQL查询的返回结构为:
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,标签;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.