select tt.rowno from( select (@rownum:=@rownum+1) as rowno, t.id from news t ,(select (@rownum :=0) ) b where .....) tt where tt.id=503 相关文章: 2021-09-16 2022-01-31 2022-01-31 2021-10-12 2022-01-09 2021-08-18 2022-12-23 2022-12-23