Skip to content

深度分页介绍及优化建议中存在冗余的LIMIT语句 #2273

Open
@MrXionGe

Description

@MrXionGe

页面

https://javaguide.cn/high-performance/deep-pagination-optimization.html#%E5%BB%B6%E8%BF%9F%E5%85%B3%E8%81%94

截图

image
“INNER JOIN”中已经限制了10条数据,关联出来的数据也应该是10条,所以我觉得第四行的“LIMIT 10”是冗余的语句。不过加上它倒也不会出错。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions