to your MariaDB server version for the right syntax to use near ?,?,?,?,?,?,?,?)

sql报错
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘?,?,?,?,?,?,?,?)’ at line 1
原因
to your MariaDB server version for the right syntax to use near ?,?,?,?,?,?,?,?)_第1张图片
这里多了个sql
去掉后
to your MariaDB server version for the right syntax to use near ?,?,?,?,?,?,?,?)_第2张图片
to your MariaDB server version for the right syntax to use near ?,?,?,?,?,?,?,?)_第3张图片
可以了!!

你可能感兴趣的:(java开发,数据库)