28,391
社区成员
发帖
与我相关
我的任务
分享
sql="update SMT_jsnew set SMT_jsnew.SMT_hc=SMT_leaveword.SMT_hc from SMT_jsnew inner join (select count(*) as SMT_hc,SMT_book_table from SMT_leaveword group by SMT_book_table)SMT_leaveword on SMT_leaveword.SMT_book_table=SMT_jsnew.SMT_id"