刚在面试宝典上看到的
求答案
5 个解决方案
#1
select top 8 * from tableName where ...
#2
或者这样写:select * from tableName where rownum <= 8
#3
select * from tableName where rownum <= 8 order by id desc
#4
++
#5
+
#1
select top 8 * from tableName where ...
#2
或者这样写:select * from tableName where rownum <= 8
#3
select * from tableName where rownum <= 8 order by id desc
#4
++
#5
+