本文共 132 字,大约阅读时间需要 1 分钟。
SELECT (@i:=@i+1) i,user_id,user_name FROM dt_user_all_orders, (SELECT @i:=0) as i
dt_user_all_orders
转载于:https://www.cnblogs.com/hcfan/p/11137266.html