[MySQL]变量自增的一个神奇之处

xiaoxiao2021-02-28  118

set @i:=1;

select @i:=@i+1;

运行结果:

 

 

转载请注明原文地址: https://www.6miu.com/read-20690.html

最新回复(0)