日期:2014-05-16  浏览次数:20704 次

Mysql 表一条记录按某一字段排序的排序号是多少
set @id:=0;
select (@id:=@id+1) as sortid,e.*  from es_member e