mysql炸裂函数的实现 [数据库教程]
SELECTsubstring_index(substring_index(a.chain,
‘_‘,b.help_topic_id +1 ), ‘_‘ ,-1 ) AS IDFROM(
select‘1_11_1223_1242‘as chain) a JOIN mysql.help_topic b ON b.help_topic_id <(length(a.chain)
- length( replace(a.chain, ‘_‘, ‘‘) ) +1)
mysql-炸裂函数的实现
以上是 mysql炸裂函数的实现 [数据库教程] 的全部内容, 来源链接: utcz.com/z/535192.html