阅读背景:

为行分配一个从1到X的数字然后循环 - 在SQL中

来源:互联网 

Say you have a table with an ID column and a few text columns, and you want to assign each one a number from 1 to 4. This number will loop around to 1 after it has reached 4 like so:Say you have a table with an ID column and a fe




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: