mysql的字段拆分和合並

SELECT a.s_id as '編號', SUBSTRING_INDEX(SUBSTRING_INDEX(a.s_name,',',b.help_topic_id + 1),',',-1) as '特徵', CONCAT(a.s_id,SUBSTRING_INDEX(SUBSTRING_INDEX(a.s_name,',',b.help_topic_id + 1),',',-1),'哈哈')
相關文章
相關標籤/搜索