当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- SRM系统是什么系统?SRM供应商管理系统功能
- YoMo Codec - Y3的性能评测报告
- How can financial management system help enterprises realize financial automation management?
- It will be 2021. What is the modern C + + worth learning?
- 技术点5:XML语言
- 毕业设计之 ---基于微服务框架的电影院订票系统
- Operation and design of rights management in ERP
- asp.net core中使用Serilog以及自定义Enricher
- JT-day10
- Leetcode 49 letter heterotopic word grouping
猜你喜欢

PL/SQL Developer临时用户和新手的功能指南

sql 筛选查询重复列

那么当下的行情投资者该怎么办呢? 现在新的投资风口来了!

How to use binary search algorithm

jt-京淘项目

How to greatly improve the performance of larravel framework under php7? Install stone!

YoMo Codec - Y3的性能评测报告

公网IP地址和SSL证书可以提升SEO吗?

SSL证书和公网IP地址如何影响SEO

Expect ':' at 0, actual = (JSON conversion exception resolution)
随机推荐
Just graduated will be confused, I after 7 years of summary, give programmers your 7 suggestions
sql 大小写转换,去掉前后空格
Application of EMQ X in Internet of things platform of China Construction Bank
[QT] subclass QObject + movetothread to realize multithreading
day84:luffy:优惠活动策略&用户认证&购物车商品的勾选/结算
必看!RDS 数据库入门一本通(附网盘链接)
【QT】子类化QObject+moveToThread实现多线程
How to gracefully prevent switch switching of view UI?
CRM系统能帮助企业做哪些事?
如何实现LRU算法
会展云技术解读 | 面对突发事故,APP 如何做好崩溃分析与性能监控?
动物园[CSP2020]
Git old bird search manual
价值超10亿美元的直播系统架构图是什么样子的?
LeetCode 50 Pow(x,n)
11.9
没有磁盘空间 No space left on device
Gets the property value of a column in the list collection object
JS深拷贝
[graffiti Internet of things footprint] graffiti cloud platform interface description