select rowid=(select count(code)from test where code=3),*from test where code=3 order by rowid
这个语句本来我用的时候rowid可以从1到count(code)升序排的,不知道怎么了不能用了
结果rowid都是等于count(code)了,求解
...全文
629打赏收藏
帮我看看这个SQL语句
select rowid=(select count(code)from test where code=3),*from test where code=3 order by rowid 这个语句本来我用的时候rowid可以从1到count(code)升序排的,不知道怎么了不能用了 结果rowid都是等于count(code)了,求解