mysql+qt,1064错误

QSqlError("1064", "QMYSQL: Unable to execute query", "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 'group,post,state) values (?,?,?,?,?,?,?,?,wei)' at line 1"),靠近group的地方错误,是因为group是mysql的关键字,不能做列明

你可能感兴趣的:(mysql+qt,1064错误)