select @rownum:=@rownum+1 as rownum,a.roleId from base_userroles a,(select @rownum:=0) t where a.roleId=‘admin‘;
时间: 2024-10-27 09:42:36
select @rownum:=@rownum+1 as rownum,a.roleId from base_userroles a,(select @rownum:=0) t where a.roleId=‘admin‘;