为什么下面显示mysql 1064错误?mysql中的错误1064
我有如下表:
daily_note (id, time (timestamp), rate_id, note)
在这个表,我执行以下插入:
INSERT INTO daily_note (note)
VALUES ('this is a note')
WHERE rate_id = 37
AND time > '2011-05-22 00:00:00'
无法执行插入:
你有你的SQL语法错误;检查 对应于你的MySQL服务器版本正确的语法使用 附近手册“WHERE rate_id = 37和时间>‘2011-05-22 00:’在第3行”