mysql 获取行号

来源:互联网 发布:程序员常用浏览器 编辑:程序博客网 时间:2024/06/05 14:17
set @item:=0;
select @item:=@item+1 as item,h.* from vm_future_holding h where futureid='IF1204' and type=1