SQL 关联表Update
update a set a.TaskName=b.TaskName from BPMI_TASK a,BPMI_TOKENLAST b where a.TaskId=b.TaskId and a.TaskName like ‘%费用管理%’
select (select top 1 TaskName from BPMI_TOKENLAST b where b.TaskId=a.TaskId),* from BPMI_TASK a where a.TaskName like ‘%请假申请%’