Py学习  »  DATABASE

MySQL中的分配顺序是什么?

HuDahai • 7 年前 • 1777 次点击  

MySQL中的分配顺序是什么?

set @rownum := 0;
explain select actor_id, first_name, @rownum as rownum
from actor
where @rownum <= 1
order by first_name, LEAST(0, @rownum:=@rownum + 1);
Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/38196
文章 [ 1 ]  |  最新文章 7 年前