Mysql按特定符号分割成多行或多列的示例
case when (length(path1) - length(replace (path1, "\\", ""))) / length("\\") +1 >=1 then SUBSTRING_INDEX(SUBSTRING_INDEX(path1,'\\',1),'\\', -1 ) end as first_level_directory参考资料:1、Mysql按特定符号分割成多行和多列的示例2、Mysql 根据分