当前位置:网站首页>SQL intercepts the data before and after the '.'
SQL intercepts the data before and after the '.'
2020-11-09 22:26:00 【Game life】
-- take '.' Data before substr( Field , The starting position , End position ) locate('.',name): Get the following table of characters
SELECT *,(substr(name,1,locate('.',name)-1)) as namex FROM file_selection WHERE xxxxx='0';
SELECT *,(substr(name,locate('.',name)-1),length(name)) as namex FROM file_selection WHERE xxxxx='0';
版权声明
本文为[Game life]所创,转载请带上原文链接,感谢
边栏推荐
- Postman(一)---功能介绍
- 报错 Type interface *** is not known to the MapperRegistry. 的解决方案
- 手把手教你使用容器服务 TKE 集群审计排查问题
- Win7 + vs2015 + cuda10.2 configuration tensorrt7.0
- 配置ng
- 没有磁盘空间 No space left on device
- How to upload your avatar with code and add your own copyright information?
- [graffiti Internet of things footprint] graffiti cloud platform interface description
- 刚毕业都会迷茫,我经过7年总结,送给程序员的你们7点建议
- Another comparison operator related interview question let me understand that the foundation is very important
猜你喜欢

Modify the files in the jar package

LeetCode 50 Pow(x,n)

More than 60 technical executives gathered in Songshan Lake, and the first phase of Huawei cloud core partner developer training camp was successfully concluded

刚毕业都会迷茫,我经过7年总结,送给程序员的你们7点建议

sql 截取数据中 ‘.’的前后数据

如何实现LRU算法
![[最佳实践]了解 Eolinker 如何助力远程办公](/img/3b/00bc81122d330c9d59909994e61027.jpg)
[最佳实践]了解 Eolinker 如何助力远程办公

报错 Type interface *** is not known to the MapperRegistry. 的解决方案

On the practical application of C 9's new features

迅为IMX6ULL开发板C程序调用shell
随机推荐
面试官:缓存穿透、缓存雪崩和缓存击穿是什么?
Python调用飞书发送消息
The number of more than half of the array is printed by the sword
JS deep copy
Formal class D25
How to use binary search algorithm
It will be 2021. What is the modern C + + worth learning?
必看!RDS 数据库入门一本通(附网盘链接)
SRM系统是什么系统?SRM供应商管理系统功能
day84:luffy:优惠活动策略&用户认证&购物车商品的勾选/结算
如何实现LRU算法
DB-Engines 11月数据库排名:PostgreSQL坐稳同期涨幅榜冠军宝座
说说 C# 9 新特性的实际运用
jt-京淘项目
Do you know your server? Do you know what's inside the server
ERP的权限管理的操作与设计--开源软件诞生24
Leetcode 48 rotating image
Another comparison operator related interview question let me understand that the foundation is very important
eleven point nine
From master of Engineering Physics of Tsinghua University to open source entrepreneur of cloud computing