toxic

备忘录

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

select c.rowno from (select *,(@rowNO := @rowNo+1) AS rowno from profile a,(select @rowNO :=0) b  order by coins desc) c where c.user_id = 10006;

posted on 2014-12-15 15:17  toxic  阅读(748)  评论(0编辑  收藏  举报