首页 >> sql语句 >> 详细内容
sql语句
 
sql语句 >> 正文
NOT与谓词进行组合条件的查询
日期:2017/6/15 
 查询客房状态为空闲且客房价格不在80到150元之间的房间信息
 Select * from biao where 房态=’空房’ and not (价格 between 80 and 150 )