原 在mysql中类似oracle的rowid 2019-05-07 本文已影响2人 tim24518 SELECT @rowid:=@rowid+1 as rowid FROM table1, (SELECT @rowid:=0) as init