mysql將逗號隔開的字符串轉換爲表數據

INSERT INTO tmp_split SELECT a.id, substring_index( substring_index( a.ids, ‘,’, b.help_topic_id + 1 ), ‘,’ ,- 1 ) FROM test a JOIN mysql.help_topic b ON b.help_topic_id < ( length(a.ids) - length(REP
相關文章
相關標籤/搜索