update tablename a set a.[tmoney1]=(select sum(zmoney) from tableName b(nolock) where charindex(a.uid,b.tuids) >=0)
试一试吧,如有疑问,及时沟通!
首先要中文描述的让人能看懂才能有效解决问题。