日期:2014-05-16  浏览次数:20706 次

报错1064(42000) 郁闷!!!
我的数据库栏目
  name char 10
  num int 
  sex char
  cash int
  ID char
  add char 100
  password char

我的SQL 语句

  mysql > update client set Add = "a" where name = "aa";

  Add 这一栏 中 123 数据是存在的 而且 如果我换成其他的 栏目 比如cash 之类的 不报错

  那句报错是:
  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 'Add = "a"' at line 1

------解决方案--------------------


SQL code
update client set `Add` = 'a' where name = 'aa';