update t_news inner join (select readCount from t_news t2 where t2.id=1) t1 set t_news.readCount = t1.readCount+1 where t_news.id=1;
本文共 180 字,大约阅读时间需要 1 分钟。
update t_news inner join (select readCount from t_news t2 where t2.id=1) t1 set t_news.readCount = t1.readCount+1 where t_news.id=1;
转载于:https://www.cnblogs.com/herd/p/9381503.html