SELECT SUBSTRING_INDEX(SUBSTRING_INDEX(a.path,\',\',b.help_topic_id + 1),\',\',-1) as path FROM (SELECT industrys as path FROM zc_project) a JOIN mysql.help_topic b ON b.help_topic_id < (LENGTH(a.path)- LENGTH(REPLACE(a.path,\',\',\'\')) + 1); 相关文章: 2022-12-23 2021-11-12 2022-12-23 2022-01-07 2021-08-07