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

数据库条件查询

时间:2015-04-18 21:48:24      阅读:126      评论:0      收藏:0      [点我收藏+]

标签:

select *from xinxibiao where high>163 and sex=

update xinxibiao set name=约里克‘ where name=刘凯

--between and 在什么和什么之间

select *from xinxibiao where high between 165 and 175

select *from xinxibiao where name like %‘--查询表中姓王的

--% 是通配符 可以代替任意字符和数据  like好像的意思

数据库条件查询

标签:

原文地址:http://www.cnblogs.com/lk-kk/p/4438018.html

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