[Solved] pymysql.err.internalError: (1054, “Unknown column ‘LGD_xiaohong’ in ‘field list'”)

This is the problem I encountered in mongodb project. The original code is as follows:

running result:

the modified code is nested with quotation marks:

running result:

mysql database view data, as shown in the following figure:

successfully insert data. I wish everyone a smooth solution, I wish you success!!

Read More: