from将其他表分组查询到的结果更新到update的表中?
updatet1set数量=(sekectcount(1)fromt2wheret2.cln1=t1.类别)whereexists(select1fromt2wheret2.cln1=t1.类别)