Select ID,(@rowNum:=@rowNum+1) as RowNo From a,(Select (@rowNum :=0) ) b 相关文章: 2022-12-23 2021-12-28 2021-06-07 2021-07-16 2022-12-23