The mysql software used: Navicat
The complete sql statement is as follows:
INSERT INTO `xz_user` ( `id`, `username`, `age`, `address`, `sex`) VALUES (00000000001, '张三', 20, 'shanghai', '男');
INSERT INTO `xz_user` ( `id`, `username`, `age`, `address`, `sex`) VALUES (00000000002, '李四', 18, 'beijing', '女');
INSERT INTO `xz_user` ( `id`, `username`, `age`, `address`, `sex`) VALUES (00000000003, '王二', 24, 'shenzhen', '男');
Try
DESCRIBE xz_user
to see if there is thisclass
column.Unknown field
class
The prompt is very obvious