作者: kent鹏 转载请注明出处: http://www.cnblogs.com/xieyupeng/p/7289451.html --oracle分页(Pageing Query) select * from (select rownum r,e1.* from (select * from emp order by sal) e1 ) ; SQL SQL> --查询工资比SCOTT高的员工信息 SQL> --1. SCOTT的工资 SQL> select sal from emp…
centos 安装oracle 11g r2(三)-----表空间创建 创建表空间前要保证监听与数据库实例已经启动 1.启动监听 [oracle@localhost ~]$ lsnrctl start LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 01-DEC-2017 09:25:48 Copyright (c) 1991, 2009, Oracle. All rights reserved. Starting /data/orac…
insert语句基本语法: insert into table(column) values(values); insert into dept (deptno,dname,loc) values(50,'development','detroit'); //当所有列都要插入数值时可不写第二行,直接按照顺序写第三行 update语句: update dept set deptno=11 where loc='zjk'; delete语句: d…