我有一个mysql表mysql_table。类别id有一个列Cid。我已经在那张表上上传了很多数据。upload ~1~2~3~ in CidIn third row , I upload ~1~ in Cid
现在,我希望在不影响现有数据的情况下更新表mysql_table的列Cid。我想用15~更新每个Cid列。所以我需
我需要更新一列,并根据旧值,更新第二列。 t1.upd = IF(t1.b1 <> t2.b1 ,1 , t1.upd)基于此查询,我希望该表如下所示mysql手册指出:
The second assignment in the following statement sets col2 to the c