sq2000中的row_number()

sq2000 中无法使用row_number()

使用

select ( select count(*)
from xzt_da_Topic p1
where p1.id <= p2.id) as ABC,
* from xzt_da_Topic p2
order by ABC   代替

posted @ 2016-11-04 17:42  糖果小宝  阅读(257)  评论(0)    收藏  举报