Mysql changes the database table data according to the judgment field is empty

For example:

update tb_table SET month = 12 WHERE month is NULL

Guess you like

Origin blog.csdn.net/sinat_34241861/article/details/113843237