postgressql 按符号切割字符串 从单列到多列


 split_part(channel, '/', 1) AS channel1 
              , split_part(channel, '/', 2) AS channel2
							, split_part(channel, '/', 3) AS channnel3

  

 

 分完之后的结果 是这个样子


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM