-- 定义一个自增变量 set @i=0; -- 执行自增语句 Select @i:=@i+1,sponsorbroker,‘01‘,1000,‘2014-12-31‘,0,0 from stock_listing_detailed_info group by sponsorbroker;
时间: 2024-10-12 08:35:54
-- 定义一个自增变量 set @i=0; -- 执行自增语句 Select @i:=@i+1,sponsorbroker,‘01‘,1000,‘2014-12-31‘,0,0 from stock_listing_detailed_info group by sponsorbroker;