INSERT INTO ywyinfo(Username, sex, quanxian, scollar, born, UserID, telephone, duty, bumen,Houseaddress)VALUES ('222', '1', '444', '22', '2006-08-28', '444', '444', '444', '444', '444')
參考答案:不知道报什么错呢?如果你需要给每个列都插入数据,那就别写
(Username, sex, quanxian, scollar, born, UserID, telephone, duty, bumen,
Houseaddress) 直接写INSERT INTO ywyinfo values(类容);
而且,如果你插入的是int型的值,就别那引号引住他了。记得各种数据类型一定要对应好,别那边是int,这边写个字符串。