mysql做数据迁移,把A库a表数据复制到B库b表
sql语句如:
INSERT INTO A.a VALUES(
SELECT 字段1,字段2 FROM B.b
);
错误如下:错误代码: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select help_category_id,name,parent_category_id,url from mysql.`help_category`
)' at line 2
请问这是什么问题呢?