最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

MySQL42000错误

互联网 admin 2浏览 0评论

MySQL42000错误

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''2-13'' at line 1

原因:使用了MySQL保留字
解决:
加上反引号(1旁边的)

select * from `2-13`

MySQL42000错误

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''2-13'' at line 1

原因:使用了MySQL保留字
解决:
加上反引号(1旁边的)

select * from `2-13`

与本文相关的文章

发布评论

评论列表 (0)

  1. 暂无评论