我刚接触MySQL,还有他们的C++ API,我遇到了一次执行多个查询而不是两次调用同一个函数的问题,我的意思是我的查询有点关联,从逻辑上说它们应该一次执行。我得到了异常
您的SQL语法中有一个错误;请查看与您的MySQL了解要使用的正确语法,请在第1行的'insert into ###.players
ID_TRASY=19;DELETE FROM trasy WHERE ID_TRASY=19;com.mysql.jdbc.exceptions.jdbc4MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL
comments, shares, uploads, likes我每次都会出错
ActiveRecord::StatementInvalid: Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL serverversion for the right syntax to use near 'DROP TABLE IF EXISTS _by_