标签:
update kapage_news b set sharecount=(select COUNT(*) FROM kasharing a where a.srcid=b.newsid);
MySql笔记
原文地址:http://www.cnblogs.com/tenxia/p/4601413.html