When updating a record in MySQL, the syntax is correct, but the record is not updated... Question Statement The record before execution is as follows: The record after execution is as follows: As you can see, it actually works: why? It seems that there is no problem with the syntax. The update syntax of the MySQL official document is: Seeing that the format of assignment_list is a comma-separated list of Summary: In an UPDATE statement, if you want to update multiple fields, you cannot use "AND" between the fields, but should separate them with commas. Principle: Why does the strange result of owner_code=0 appear when "AND" is used to separate? After many attempts, I found that: And This is the end of this article about the syntax of mysql update to modify multiple fields and. For more relevant mysql update to modify field and syntax content, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: vue front-end HbuliderEslint real-time verification automatic repair settings
>>: Detailed analysis of each stage of nginx's http request processing
Text truncation with CSS Consider the following c...
1. Linux installation (root user operation) 1. In...
The default port number of the Windows server rem...
1. Introduction to Middleware 1. Basic concepts E...
mysqldump tool backup Back up the entire database...
We need to first combine the air quality data wit...
SVG (Scalable Vector Graphics) is an image format...
Table of contents Case Context switching overhead...
Knowing which for loop or iterator is right for o...
They are all web page templates from the foreign ...
Find the containerID of tomcat and enter the toma...
Table of contents Preface optimization Extract va...
As shown below: #!/usr/bin/env python3.5 import p...
If there is an <input type="image">...
First, let's look at an example of memory rel...