把某一个字段里的数据按照分隔符拆分成多数据
SELECT
t.*,
substring_index(
substring_index(
t.DeptSecondName,
'、',
b.help_topic_id + 1
),
'、',- 1
) AS curriculum
FROM
tb_subsidyproject t
JOIN mysql.help_topic b ON b.help_topic_id < (
length( t.DeptSecondName ) - length( REPLACE ( t.DeptSecondName, '、', '' ) ) + 1
)