sql函数求助 有一字段AA 数据为[email protected]而我想取出的数据为nbcx.cn请问大家该怎么处理是否有函数能之直接得到@在[email protected]中的位置 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 MYSQL 中有这个函数吗》? 楼上没理解MySQL不懂用java的意思就是先indexOf("@")然后在substring select substr(AA,position('@' in AA)+1) from tablename例如: select substr('[email protected]',position('@' in '[email protected]')+1) set @test1 = '[email protected]';select substring(@test1,instr(@test1,'@')+1); mysql 触发器问题 怎样查询生成排班表 如何用hibernate实现每天增加一个表,每天删除一个表,保留30天的表,表名以日期的命名? 如何利用navcat工具才能导出这个bit类型的值 sql 脚本中插入语句后,在mysql数据库中用select语句查询时有中文的字段显示空? mysql 主从备份指定表 各位老鸟帮帮忙阿! mysql执行脚本报错 两表查询,怎么写最优 mysql5.6.13 使用tuning-primer.sh脚本一直报错 mysql中设置字段deault value为当期日期 SQLyog的小问题
MySQL不懂用java的意思就是
先indexOf("@")
然后在substring
select substr('[email protected]',position('@' in '[email protected]')+1)
select substring(@test1,instr(@test1,'@')+1);