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