知识碎片Mysql语句

Posted itplay

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了知识碎片Mysql语句相关的知识,希望对你有一定的参考价值。

(1)mysql 更新最新的一条记录 

 update tb_test set name=小东  where type=2 order by created_at DESC limit 1;

 

以上是关于知识碎片Mysql语句的主要内容,如果未能解决你的问题,请参考以下文章