我有一个 select statemnt ,它将返回结果说 1000 使用 join 与一些 3 到 4 个表。我的要求是在结果集中有标识列。谁可以帮我这个事。
前任 :
Result :
id   name 
--   ----
001   xxx
002   yyy
003   zzz
My requirment :
Rowid   id   name 
 1      --   ----
 2       001   xxx 
 3       002   yyy
 4       003   zzz
像 sql 中的 Row_number 一样,我们在 sybase 中是否有任何内容