有时候不小心创建表时候字段名称会与mysql保留字冲突,在增删改查时候就会报错。
check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESC
可以加个单 反引号·(英文状态下,在键盘1的左边那个)。用来区分关键字 例如:`desc`
有时候不小心创建表时候字段名称会与mysql保留字冲突,在增删改查时候就会报错。
check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESC
可以加个单 反引号·(英文状态下,在键盘1的左边那个)。用来区分关键字 例如:`desc`