赞
踩
实现方式
SELECT (@rownum :=@rownum + 1) rownum, u.nativePlaceFROM party_user u, (SELECT @rownum := 0) r