敬请高手指点:
就是我新建一个表People,然后添加记录时,会出现一下错误,不知道怎么回事,重装也不行,急死了!
本来是要插入一条记录:insert into people values('陈某某'36,'[email protected]','023-5555555');
错误如下: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'36,'[email protected]','023-5555555'>'at line 1
翻译了一下好像是什么语法错,但是刚接触,不大懂。
就是我新建一个表People,然后添加记录时,会出现一下错误,不知道怎么回事,重装也不行,急死了!
本来是要插入一条记录:insert into people values('陈某某'36,'[email protected]','023-5555555');
错误如下: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'36,'[email protected]','023-5555555'>'at line 1
翻译了一下好像是什么语法错,但是刚接触,不大懂。
另外,MySQL中表名是区分大小写的。