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 ....