In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Question-- how does mysql split a string that is split by
Split the fields of commas and semicolons. Other fields are automatically completed.
Https://blog.csdn.net/u012009613/article/details/52770567 SELECT s.* from (SELECT t.IDMagnet.timekeeper, substring_index (substring_index (t.all_content,';', b.help_topic_id + 1),';',-1) content_split-- t..FROM excel_lvli t JOIN mysql.help_topic b ON b.help_topic_id
< ( LENGTH( t.all_content ) - LENGTH( REPLACE ( t.all_content, ';', '' ) ) + 1 )and t.all_content like '%;%'and t.all_content like '%画了许多%' ) s WHERE LENGTH(s.content_split) >0; SELECT substring_index (substring_index (t.context,',', b.help_topic_id + 1),',',-1) FROM test.test t JOIN mysql.help_topic b ON b.help_topic_id < (LENGTH (t.context)-LENGTH (REPLACE (t.context,',')) + 1)
The effect achieved. :
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.