Home >Database >Mysql Tutorial >Column count doesn't match value count at row 1_MySQL

Column count doesn't match value count at row 1_MySQL

WBOY
WBOYOriginal
2016-05-31 08:46:191394browse

在做insert时 遇到这个错误

java.sql.SQLException:Column count doesn't match value count at row 1

可能是出现在insert数据时字段与表中的字段不匹配。

原来是我在建表时预留了两个空字段的问题……fuuuuuuucccckkkkk

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn