(MySQL) 1166 - Workaround for Incorrect column name 'XXX'

Today, when I used MySQL to create a data table, I reported the following error:
insert image description here
Reason for
the error: The name of this field was copied, and there were spaces in the copied content, so an error was reported.

Workaround:
Just remove the spaces in the field names.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326142220&siteId=291194637