MySQL查找最后几条数据

SELECT * FROM user(表名) order by user_id(字段) DESC limit 5;

猜你喜欢

转载自blog.csdn.net/zhw0596/article/details/81592464