Solving the difficulty of SQL: sequence Generation
1. Generate sequence of consecutive integers
MySQL8: with recursive t (n) as (
Select 1
Union all
Select nasty 1 from t where n
1. Generate sequence of consecutive integers
MySQL8: with recursive t (n) as (
Select 1
Union all
Select nasty 1 from t where n