-- 创建需要划分的字符串 with T1 as( select 'one,two,three,four,five,six,seven,eight,nine,zero' as source_string from dual), -- 统计字符串中子串的个数,用 ',' 来划分子串 T2 as( select regexp_count(source_string, '[^,]+') as source_substring_count from T1), -- 根据子串的个数创建索引列,用于给T4的…