摘要: 某些查询条件确定范围between and,not between and确定集合in,not in字符匹配like,not like空值is null,is not null多重条件and,or,not1。确定范围 查询年龄在(不在)21到24之间的学生姓名,年龄。 select sn,age from s where age between 21 and 24 (select sn,age from s where age not between 21 and 24)2.确定集合 查询是(不是)信息系、自动化系和计算机系的学生的姓名 select sn from s where dept 阅读全文
posted @ 2011-12-28 13:58 偶不是大叔 阅读(5574) 评论(0) 推荐(0) 编辑