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 代替
时间: 2024-10-12 22:38:46
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 代替