1. update table_A set table_A_column = ab.column from table_A aa left join table_B ab on aa.xx = ab.xx where aa.xx = xx 2. update table_A set table_A_column = table_B.column from table_A,table_B where table_A.xx = table_B.xx
一:在新表已经建立好的情况下 1,拷贝所有的字段 insert into new_table select * from old_table 2,拷贝部分字段表 insert into new_table(id,name,sex) select id,name,sex from old_table 3,拷贝部分的行 insert into new_table select * from old_table where id="1" 4,拷贝部分的行和字段 insert into n
在参数设置位置有两个地方:Select next row –下一行的取值方式(针对用户)Sequential 顺序的,即所有用户都是按照同一种方式取值(都是按照Update value on方式取值,一个用户怎么去,多个用户也是怎么取)Random 随机的,即所有用户的取值都是随机的Unique 独一无二的,即所有用户取值都不会相同Update value on – 值更新方式(针对迭代方式)Each Iteration 每次迭代时更新(一次迭代中参数出现多次也不变,但是取的值按