offset fetch next 分页排序

SELECT
            t1.*, t2.*
        FROM
            fm_door t1
        LEFT JOIN fm_member t2 ON t1.member_id = t2.member_id
        order by  t1.door_time desc, door_id offset 160 rows fetch next 20 rows only

猜你喜欢

转载自blog.csdn.net/m0_38129431/article/details/79963116