String sql=""+"insert into user_table (name,sex,keshi,jituanhao,group) values(?,?,?,?,?)";
提示: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) values('ChenRenQiang','Man','CeShiYIShi',6915,'ShiJIngli')' at line 1.
SQL语句哪里出错了?
为啥String sql前要加""+啊?直接开始insert不行么?
查到了,group是关键字,不能用做字段名。