摘要:
--丹壹号转义select 'HELLO WORLD' from dual;select 'HELLO''WORLD' from dual;select 'HELLO''''WORLD' from dual; 阅读全文
摘要:
--工资超过5000 且last_name 以s 结尾的员工select * from employees where salary>=5000 and last_name like '%s'; --查询部门是10,20,以及没有部门的员工select * from employees where 阅读全文
摘要:
select * from employees where first_name like 'S%' --查询first_name 以S 开头的员工select * from employees where first_name like '%S' --查询first_name 以S 结尾的员工 - 阅读全文
摘要:
select * from employees where department_id is null;select * from employees where department_id is not null; select * from employees between 5000 and 阅读全文