请求一SQL语句!急 一字段值为:hp5L|hp100|hp1000hp5L|hp6L|hp1000'|'为分割符求加条件取出有 'hp100' 的行谢谢! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 hp5L|hp100|hp1000hp5L|aa100|hp1000hp5L|Hp10|hp1000‘¦'为分割符 求加条件取出有 'hp10' 的行 谢谢! create table #b( t varchar(100))insert into #b(t) values('hp5L|hp100|hp1000|hp5L|hp6L|hp1000')select * from #b where t like '%hp100%' hp5L|hp100|hp1000hp5L|aa100|hp1000hp5L|Hp10|hp1000select * from s where t like '%hp10%'这样会取出 hp10 和 hp100两个的。 select * from b where 1=t regexp 'hp100\\|' 正在...ING,小顶一下!支持SQL select * from s where t like '%|hp100|%'这个多简单,哈哈 求助,求一mysql查询表达式 谁能跟我解释一下数据库预处理? 连接mysql 4.1出现这错误怎么解决 数据库如何恢复 如何用一条SQL语句实现多条件统计? 我是否该把 MySql 升级到 4.0.12 Max 版本??? show processlist 中的连接数数量 比 mysql数据库连接池最大连接数的限制要多 请教mysql统计每天平均值进行运算问题 MySQl5.1启动失败,错误号为1067,日志如下 sql数据库问题求助?help help help 关于JSP+TomCat+MYSQL一些小问题,谢谢大家帮忙. 高手来帮下
hp5L|aa100|hp1000
hp5L|Hp10|hp1000‘¦'为分割符
求加条件取出有 'hp10' 的行
谢谢!
insert into #b(t) values('hp5L|hp100|hp1000|hp5L|hp6L|hp1000')select * from #b where t like '%hp100%'
hp5L|aa100|hp1000
hp5L|Hp10|hp1000
select * from s where t like '%hp10%'
这样会取出 hp10 和 hp100两个的。
支持SQL