请问如何能自定义分页SQL呢
-- 使用mybatis plus 分页查询SQL如下, 如果数据量大可能会有性能问题 SELECT * from t1 left join t2 on t1.id = t2.id where delete_flag = 0 limit 1,10 -- 如何能优化成如下SQL呢 SELECT * from ( SELECT * from t1 where t1.delete_flag = 0 limit 1,10) left join t2 on t1.id = t2.id