虽然用了TOP2 是希望选最前的2条。但是因为order by pubtime里pubtime不是主键,所以显示出来7条结果。

正确的写法是要用order by id

posted on 2012-09-13 22:31  使名扬  阅读(192)  评论(0编辑  收藏  举报