mysql 造行号

行号:
Select UID,(@rowNum:=@rowNum+1) as rowNo
From a,
 (Select (@rowNum :=0) ) b

posted @ 2013-05-11 18:29  xki  阅读(163)  评论(0编辑  收藏  举报