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.
如何提高选择查询的性能,该查询从具有 100000 行且按任何列排序的表中检索 500 个项目。
目前我正在使用以下查询:
select * from Table1 order by Column10 desc, Id asc limit :rowsOnPage offset :offset
有没有更好的办法?