SELECT @rownum:=@rownum+1 AS rownum, frutas.*
FROM (SELECT @rownum:=0) r, frutas;
标签:rac 显示 sel mysql row content sele 推荐 设置
SELECT @rownum:=@rownum+1 AS rownum, frutas.*
FROM (SELECT @rownum:=0) r, frutas;
标签:rac 显示 sel mysql row content sele 推荐 设置
原文地址:https://www.cnblogs.com/liqu/p/9921916.html