回忆之城
生命在于折腾
posts - 575,comments - 9,trackbacks - 0
<2013年8月>
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567

常用链接

留言簿(5)

随笔分类(628)

随笔档案(575)

文章分类(5)

收藏夹

interesting

testing blog

搜索

  •  

最新评论

阅读排行榜

评论排行榜

select a.shuy,b.mingz from a a,b b where a.pfmingc like '%b.mingz%

做查询。。想法大概就是像上面的语句这样。。但是要怎么写正确。。


select a.shuy,b.mingz from a a,b b where a.pfmingc like '%'||b.mingz||'%'
或者使用
select a.shuy,b.mingz from a a,b b where a.pfmingc like concat ('%‘,b.mingz,'%')

select a.shuy,b.mingz from a a,b b where a.pfmingc like '%' +b.mingz+'%'
posted on 2014-06-08 20:53 回忆之城 阅读(1079) 评论(0)  编辑 收藏 引用 所属分类: 测试技术相关数据库
只有注册用户登录后才能发表评论。