pgsql update left join


update t_e_cj_stu_subject_score
set stuid = t2.userid
from public.tmp_student t2
where stuname = t2.name and examid = 'EX0000000116' ;

编程PDF电子书免费下载: http://www.shitanlife.com/code 每天学习一点点
原文地址:https://www.cnblogs.com/scode2/p/14983739.html