当前位置:Gxlcms > 数据库问题 > sql查排名

sql查排名

时间:2021-07-01 10:21:17 帮助过:40人阅读

SELECT rowno FROM (select id,age,name,(@rowno:=@rowno+1) as rowno from users  ,(select (@rowno:=0)) b order by age DESC ) aaa WHERE name=‘abc‘;


sql查排名

标签:

人气教程排行