createtablet_CounsellorInfo
(
SIDintnotnullauto_increment,
Cou_accountvarchar(10),
Cou_passwordvarchar(8),
Cou_stateint,
Cou_rolevarchar(6),
Cou_namevarchar(6),
primarykey(SID)
)
insertintot_CounsellorInfo(Cou_account,Cou_password,Cou_state,Cou_role,Cou_name)values('0000000003','66666666',1,'辅导员','王梦')

ERROR1064(42000):YouhaveanerrorinyourSQLsyntax;checkthemanualthat
correspondstoyourMySQLserverversionfortherightsyntaxtousenear'inser
tintot_CounsellorInfo(Cou_account,Cou_password,Cou_state,Cou_role,Cou_na'at
line11

这是什么原因啊,没有找出错来啊(数据库用的是mysql)

4 个解决方案

#1


没有问题的,你重新再试试。我在我的机子上用你这段是能正常跑起来的。
我的mysql版本是5.0.41

更多相关文章

  1. sql2000在还原备份时,我发现我新的备份,在机子上还原,还经常是上

随机推荐

  1. c语言中=和==的区别是什么?
  2. c语言关键字是什么
  3. c语言源程序文件的后缀是什么?
  4. i++和++i的区别及举例说明
  5. C#中DataSet的用法
  6. c语言注释符号是什么?
  7. c语言字符串定义的方法是什么
  8. c语言除法如何运算
  9. c语言二进制输出的方法
  10. c语言简单小游戏-扫雷游戏