mysql> insert into news(title,author,source,content,addate) values(“新闻标题”,‘
admin’,”ifeng.com”,”content…”,1234567890);
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 “‘adm
in’,”ifeng.com”,”content…”,1234567890)” at line 1
mysql>
解决方案
40
注意你的逗号。
注意观察下面的区别:
,,
注意观察下面的区别:
,,