📜  mysql insert generate serie - SQL 代码示例
📅  最后修改于: 2022-03-11 15:05:34.450000             🧑  作者: Mango
代码示例2
SELECT @curRow := @curRow + 1 AS row_number
FROM sometable
JOIN (SELECT @curRow := 0) r
WHERE @curRow<100;