As shown below: update table1 as z left join table2 as zb on z.zcatId = zb.zcatId set z.zcatName = zb.zcatName where z.zcatName is null; The above MySQL update field in a table equal to the value of a field in another table is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM. You may also be interested in:
|
<<: The JS hasOwnProperty() method detects whether a property is an object's own property.
>>: Linux confirms that the data disk has been uninstalled and a new custom image can be created
Designers have their own font library, which allo...
Sometimes we want to execute a command in a conta...
1: Check the PHP version after entering the termi...
Problem: When using JDBC to connect to the MySQL ...
I have read an article written by the Yahoo team ...
This article example shares the specific code of ...
This article mainly introduces the solution to th...
illustrate: There are two main types of nginx log...
Forgot your MySQL password twice? At first I did ...
Recorded the installation and use tutorial of MyS...
1 Introduction After "Maven deploys Springbo...
Preface The file system is responsible for organi...
Table of contents Effect demonstration:Main JS co...
Table of contents Overview Blob Blob in Action Bl...
As shown in the following figure: If the version ...