码迷,mamicode.com
首页 > 数据库 > 详细

Oracle数据库like和not like使用

时间:2015-01-22 20:05:58      阅读:472      评论:0      收藏:0      [点我收藏+]

标签:

技术分享
select * from iw_user where email not like %@% and length(email)=11
View Code

查询手机号注册的记录而不是邮箱

技术分享

 

查询2开头的记录

技术分享
select * from beyond_pay_offline where amount like 2%
View Code

技术分享

Oracle数据库like和not like使用

标签:

原文地址:http://www.cnblogs.com/SouthRain/p/4242371.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!