谈谈sql查询的betweenSQL server]教程
|
| 论文作者:佚名 论文来源:不详 论文发布时间:2006-6-17 15:23:45 论文发布人:chjchjchj |
减小字体
增大字体
作者:啊亮 发表于ASP地带,2000-11-25 21:42 例子1:求年龄在20与22岁之间(包括20 和 22)的学生的学号和年龄 select number,age from s where age between 20 and 22 例子2:求年龄不在20与22岁之间的学生的学号和年龄 select number,age from s where age not between 20 and 22 注意:between后面是低值,and 后面是高值!
|
|
|
|
|
|
|
| ∷相关技术评论 |
(评论内容只代表网友观点,与本站立场无关!) [查看发表评论...] | |
|
|
| |
站内广告 |
| |
|
站内搜索 |
| |
栏目导航 |
| |
|
|
本月热门 |
| |
|
|
本日热门 |
| |
|
|
|