当前位置:网站首页>mysql截取字符串CS0000_1中_后面的字符
mysql截取字符串CS0000_1中_后面的字符
2022-06-22 07:40:00 【if时光重来】
mysql 截取某个最后一个字符前的字符串,比如字符串“vip_cc_99”,现在截取最后一个’_'前面的字符串如下:
REVERSE(SUBSTR(REVERSE(‘vip_cc_99’) , INSTR(REVERSE(‘vip_cc_99)’,‘_’)+1)) AS name
比如字符串“vip_cc_99”,现在截取最后一个’_'后面的字符串如下:
REVERSE(left(REVERSE(‘vip_cc_99’),LOCATE(‘_’,REVERSE(‘vip_cc_99’))-1)) as name
边栏推荐
- AudioQueue
- MTK platform execution disable_ Interrupt signals masked during IRQ will be enabled when I execute enable_ Continue triggering after IRQ
- Wechat games (5)
- Use multithreading to speed up your crawler
- 【宋红康 MySQL数据库 】【高级篇】【06】MySQL的逻辑架构
- 各大企业连连出现亏损,环保行业何去何从?
- How to batch copy babies by sales volume in Taoying
- Get through version - bargain activity
- Wechat games (I)
- itertools 排列组合
猜你喜欢

Backup the method of uploading babies in Taobao stores to multiple stores

对于mysql中数据为NULL引发的一些问题和思考

Vue failed to connect to MySQL database

Does it matter if you delete the pictures in the picture space after uploading to the store

ES6 set data type de duplication of array, intersection, union and difference

navicat如何查询已连接的数据库密码信息

Canvastotempfilepath of wechat

Crmeb mall distribution function

phpcms手机门户网站配置

Win openfeign from simple to deep
随机推荐
Flutter gets the context, and flutter gets the DOM element location
navicat如何查询已连接的数据库密码信息
AudioQueue
微信小游戏(二)
【圖論常見模板題】4種最短路解法和2種最小生成樹解法
Ffmpeg pit
Open source get through version - integral function
Multimedia architecture -- Introduction to display
Docker command, docker installation sqlserver2019, docker installation MySQL (continuous update)
Do you want to modify the title of the website
Daily maintenance of website
Backup the method of uploading babies in Taobao stores to multiple stores
Impact of dead chain on websites
Remote Desktop Manager
JS gets all child nodes under a div natively
微信小游戏(三)
lr 2022超详细安装教程「最新」
7、 Picker component
Crmeb mall distribution function
Microsoft Remote Desktop 10.7.6正式版