2007年8月12日 - update a,b set a.hasmsg = count(b.*) from admin_user a,admin_msg b where b. unread = 1.
zhidao.baidu.com