📜  从另一个表mysql代码示例插入表

📅  最后修改于: 2022-03-11 15:05:16.854000             🧑  作者: Mango

代码示例1
INSERT INTO table1 (emp_id, fname)
SELECT emp_id, fname 
FROM table2
WHERE status = 'Active';