时间:2021-07-01 10:21:17 帮助过:3人阅读
between……and (在一个区间 包含边界)
--查询工资在2000到5000的工资 select salary from employees where salary between2000and5000
in()
--查询80,90,70,50,部门编号的人 Select last_name from employees where department_id in(80,90,70,50)
like
--名字中含有字母“a“的 select last_name from employees where last_name like‘%a%‘ --名字中第二个字母是“a的“ select last_name from employees where last_name like‘_a%‘ --名字中第二个字母是“_”的 , escape 为转译字符 select last_name from employees where last_name like‘#_%‘escape‘#‘
oracle学习笔记比较运算
标签:比较 运算