select distinct job from emp;
select sal*12 [as] income from emp;
select empno ||','|| ename from emp;
select * from emp where job ='CLERK';
select * from emp where job!='CLERK'; select * from emp where job<>'CLERK'; select * from emp where NOT job='CLERK';
select * from emp where sal between 1500 and 3000;
select * from emp where sal not between 1500 and 3000;
select * from emp where hiredate between '01-1月 -1981' and '31-12月 -81';
select * from emp where comm Is not null; select * from emp where not comm Is null;
select * from emp where empno in (7521,7844,5555); select * from emp where empno not in (7521,7844,5555);
select * from emp where empno in (7521,7844,null);
select * from emp where not empno in (7521,7844,null); select * from emp where empno not in (7521,7844,null);
select * from emp where ename like 'A%';
select * from emp where ename like '_A%';
select * from emp where ename like '%A%';
select * from emp where not ename like '%A%'; select * from emp where ename not like '%A%';
select * from emp where empno like '%%'
order by 字段 [ASC|DESC][,字段 [ASC|DESC]……];
select * from emp order by sal desc;
select * from emp order by sal desc,hiredate;
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有