📜  如何在mysql代码示例中无限制地获取最近的行

📅  最后修改于: 2022-03-11 15:05:29.829000             🧑  作者: Mango

代码示例1
SELECT * FROM (
    SELECT * FROM table ORDER BY id DESC LIMIT 50
) sub
ORDER BY id ASC