🌈 搜索
📅  最后修改于: 2022-03-11 15:05:06.729000             🧑  作者: Mango
SELECT @curRow := @curRow + 1 AS row_number FROM sometable JOIN (SELECT @curRow := 0) r WHERE @curRow<100;