标签:
SELECT `Name`,(@rowNum:=@rowNum+1) AS rowNo FROM bas_student,(SELECT (@rowNum :=0)) a LIMIT 10;
Mysql显示行号
原文地址:http://www.cnblogs.com/xbblogs/p/5633935.html