如何得到排名 不就是按照max_num从大到小排序吗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 order by max_num desc不行吗? 没能理解楼主的用意:select * from table where id>3 order by max_num desc MYSQL:set @v:=0;create temporary table temp select @v:=(@v+1) as xh, id, max_num from tbl_name order by max_num desc;select * from temp where id=3 有什么办法设置自动保存到服务器,而不是本机? 急~~ 求订单号代码!!! C++里面有json扩展没? 网址出现端口号的问题,请教 PHP连接MYSQL问题!!! 救命!windows xp下安装PHP和MYSQL怎么安装啊? php开发手机wap应用,utf-8-->gb2312的转换函数如何写? PHP还能有多少年生命力? 求救!!! 请进:关于一个session的问题 有没有人要找工作的,PHP全职 我郁闷哦!大家来帮帮我哈!是时间问题!
set @v:=0;
create temporary table temp select @v:=(@v+1) as xh, id, max_num from tbl_name order by max_num desc;
select * from temp where id=3