怎么在SQL查询的结果里加行号?
学习了:https://zhidao.baidu.com/question/91188037.html
mysql :Select a.*,(@rowNum:=@rowNum+1) as rowNoFrom a, (Select (@rowNum :=0) ) boracle :select a.*,rownum from asql server :select row_number()over(order by XX)as RowNum,* from a