Home  >  Article  >  Database  >  mysql更改语句的正确写法

mysql更改语句的正确写法

WBOY
WBOYOriginal
2016-06-06 09:34:541236browse

mysql

[SQL] update case_history set ID=1,petID=2,doctorID=10,condition='gaga',med_date='wewe' where ID=1

[Err] 1064 - 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 'condition='gaga',med_date='wewe' where ID=1' at line 1
这是我的错误,怎么改

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn