SELECT
b.help_topic_id + 1 AS id,
substring_index( substring_index( a.Synonyms, '|', b.help_topic_id + 1 ), '|', - 1 ) AS NAME
FROM
gene_homo_sapiens as a
JOIN mysql.help_topic as b ON b.help_topic_id < LENGTH( a.Synonyms ) - LENGTH(
REPLACE ( a.Synonyms, '|', '' )) + 1
where a.GeneID='1'
网友评论