[英]Insert values returned from SQL query to another table
SQL查詢的返回結構為: id | label
id | label
我已經創建了具有相同結構的表,如何將返回的行插入到此新表中。
INSERT INTO new_table (id, label)
<put select query here>
插入SecondTable(id,標簽),從OriginalTable中選擇id,標簽;
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.