2020-06-16
阅读量:
2460
sql
-- 条件查询
-- 查询10号部门和20号部门中sal低于2000的员工信息
select *
from emp
where (deptno=10 or deptno=20) and sal<2000;
select *
from emp
where deptno in (10,20) and sal<2000;
29.7388
1
1
关注作者
收藏
推荐帖子
0条评论
1条评论
0条评论

发表评论