我的数据库里有10条记录,我想要5条。就像 1,2,3,4,5,6,7,8,9,10 我要你的唱片 3,4,5,6,7,8 记录是动态的,可以非常频繁地更改。
1,2,3,4,5,6,7,8,9,10
3,4,5,6,7,8
Select * From file Where file_status = 1 Order By file_date DESC limit 5
这不起作用,因为这只能获取最后五条记录。。
7ivaypg91#
select * from file where file_status = 1 order by file_date DESC limit 2,6
将获取数据作为您的examp
1条答案
按热度按时间7ivaypg91#
将获取数据作为您的examp