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
HTTP Status Codes The status code is composed of ...
Nginx is developed in C language and is recommend...
Anaconda Installation Anaconda is a software pack...
Table of contents 1. Introduction to PXC 1.1 Intr...
This article is based on Linux centos8 to install...
I have been learning about responsive design rece...
First download JDK. Here we use jdk-8u181-linux-x...
Table of contents 1. Download MySQL msi version 2...
Table of contents 1. Trigger Solution 2. Partitio...
In this section, we will learn about list element...
Table of contents 1. Get a random Boolean value (...
01. VMware Workstation Pro 15 Download Download: ...
This article shares the specific code of JavaScri...
This article uses an example to share with you a ...
Preface When the WeChat mini program project invo...