MySQL 错误代码 1054- 插入数据不成功

MySQL Error Code 1054- inserting data is unsucessful

我需要有关 MySQL 程序的帮助,这是代码:

INSERT INTO CUSTOMER (Customerid, CustomerFname, CustomerLname, CustomerPhone, CustomerGender, CustomerYearly_salary, CustomerStreet, CustomerCity, CustomerState, CustomerPostcode, ProductId, PaymentId)

VALUES (12345678910,’Anna’, ’English’, 017362930115, ‘female’, 30000, ‘Augsburger_Str._84‘, ‘Senscheid’, ‘Rheinland-Pfalz’, 53520, 0101, 50000)

这是错误代码:

INSERT INTO CUSTOMER (Customerid, CustomerFname, CustomerLname, CustomerPhone, CustomerGender, CustomerYearly_salary, CustomerStreet, CustomerCity, CustomerState, CustomerPostcode, ProductId, PaymentId) >VALUES (12345678910,’Anna’, ’English’, 017362930115, ‘female’, 30000, ‘Augsburger_Str._84‘, ‘Senscheid’, ‘Rheinland-Pfalz’, 53520, 0101, 50000)

Error Code: 1054. Unknown column '’Anna’' in 'field list'

SQL 认为 Anna(和前面的其他值)是根据错误消息的列,用引号替换:

INSERT INTO CUSTOMER (Customerid, CustomerFname, CustomerLname, CustomerPhone, CustomerGender, CustomerYearly_salary, CustomerStreet, CustomerCity, CustomerState, CustomerPostcode, ProductId, PaymentId);

VALUES (12345678910, 'Anna', 'English', 017362930115, 'female', 30000, 'Augsburger_Str._84', 'Senscheid', 'Rheinland-Pfalz', 53520, 0101, 50000);