Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有个问题。在我查询时,我显示了 100 多行,我想知道是否有人可以制作一个页面,每页只显示 25 行
谢谢
LIMIT 子句可用于限制 SELECT 语句返回的行数:
SELECT * FROM `table` WHERE <conditions> LIMIT 25 OFFSET <offset>
我建议使用现成的解决方案。