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`
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`