急呀!!!为什么我翻页的程序到了30页以后显示的都是一样的内容呀~~~~~~~~~~~~~
select top 9 * from starphoto where id not in (select top 270 id from starphoto where picStyle=0 order by HotLink desc) and picStyle=0 order by HotLink desc;
我在查询分析器里输出结果,从270------到700都显示的同一页的内容,我的表里有884条记录
如果我将HotLink换成id就显示的内容不一样
select top 9 * from starphoto where id not in (select top 270 id from starphoto where picStyle=0 order by id desc) and picStyle=0 order by id desc;
可我想按点击率(HotLink)排序输出,急呀,而且奇怪的事同样的操作为什么有的表是好的,而且StarPhoto的前30页也是好好的