Update Updates a field condition of the current table with a field of another table is the field matching of the two tables

xiaoxiao2021-03-06  89

Update dt_roles t set t.pec_roles_key = (select n.int_code from bv_enum_values ​​n where t.role_name = n.value)

Update Table1 T1 set t1.column1 = (Select T2.Column2 from table2 t2 where)

转载请注明原文地址:https://www.9cbs.com/read-100974.html

New Post(0)