SELECT 准考证号,left(选项,AT(',',选项)-1) as 选项1,STREXTRACT( 选项,",",",",1) as 选项2,STREXTRACT( 选项,",",",",2) as 选项3,RIGHT(选项,LEN(选项)-RAT(',',选项)) as 选项4 from 表A into table 表b
SELECT 准考证号,left(选项,AT(',',选项)-1) as 选项1,STREXTRACT( 选项,",",",",1) as 选项2,STREXTRACT( 选项,",",",",2) as 选项3,RIGHT(选项,LEN(选项)-RAT(',',选项)) as 选项4 from 表A into table 表b