2022-02-19 MySQL分页查询获取总数

阅读 34

2022-02-19

select SQL_CALC_FOUND_ROWS from tablename;
select FOUND_ROWS() as total;

相关推荐

精彩评论(0)

0 0 举报