select top 10 * from table order by xxx desc
-- MySQLselect * from table_name order by id desc limit 0,10
--Oracle
SELECT * FROM (select * from table_name ORDER BY id desc) t
WHERE ROWNUM<=10
欢迎分享,转载请注明来源:内存溢出
select top 10 * from table order by xxx desc
-- MySQLselect * from table_name order by id desc limit 0,10
--Oracle
SELECT * FROM (select * from table_name ORDER BY id desc) t
WHERE ROWNUM<=10
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)