How do I write a query that outputs the row number as a column?

后端 未结 3 1229
走了就别回头了
走了就别回头了 2021-02-19 06:19

How do I write a query that outputs the row number as a column? This is DB2 SQL on an iSeries.

eg if I have

table Beatles:

John
Paul
George
Ringo         


        
3条回答
提交回复
热议问题