Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,有没有办法执行以下操作:
INSERT INTO table2 VALUES(SELECT x FROM table1 WHERE x > 5 LIMIT 4)
删除 VALUES 和括号:
INSERT INTO table2 SELECT x FROM table1 WHERE x > 5 LIMIT 4
INSERT INTO SomeTable(column1, column2, column5) SELECT x as column1, y as column2, a as column5 FROM differentTable WHERE ....