SQL 手册SQL 函数表函数explode_numbers本页总览explode_numbersexplode_numbersdescription表函数,需配合 Lateral View 使用。获得一个[0,n)的序列。syntaxexplode_numbers(n)examplemysql> select e1 from (select 1 k1) as t lateral view explode_numbers(5) tmp1 as e1;+------+| e1 |+------+| 0 || 1 || 2 || 3 || 4 |+------+keywordsexplode,numbers,explode_numbers