ER_WRONG_VALUE_COUNT_ON_ROW:列数与第1行的值数不符
CREATE TABLE employee (
employee_id INT,
first_name VARCHAR(20) NOT NULL,
last_name VARCHAR(20),
birth_date DATE,
sex VARCHAR(1),
salary INT,
super_id INT,
branch_id INT,
PRIMARY KEY(employee_id)
);
INSERT INTO employee VALUES(100, 'David', 'Wallace', '1967-11-17', 'M', 250,000, 2, 1);
答案 0 :(得分:0)
从您的薪水值中删除comma(,)
-它的数据类型为int
INSERT INTO employee
VALUES(100, 'David', 'Wallace', '1967-11-17', 'M', 250000, 2, 1)