摘要:
--外连接 作用:查询不满足连接条件的数据 select * from emp e,dept d where e.deptno = d.deptno; select * from dept; select * from emp e,dept d where e.deptno(+) = d.deptn 阅读全文
摘要:
select * from emp; --employee 员工表 select * from dept; --department 部门表 select * from salgrade;-- salary grade 工资等级表 emp empno 员工编号 ename 员工姓名 job 工作/工 阅读全文
摘要:
create table emp2 ( empno number(4), ename varchar2(10), job varchar2(9), mgr number(4), hiredate date, sal number(7,2), comm number(7,2), deptno numb 阅读全文
摘要:
create table emp2 ( empno number(4), ename varchar2(10), job varchar2(9), mgr number(4), hiredate date, sal number(7,2), comm number(7,2), deptno numb 阅读全文
摘要:
索引 index; 作用:提高查询速度 创建索引的规则: 1)经常出现在where中的列 适合创建为索引列 2)经常作为表之间的连接条件的列 3)值域/取值范围广、空值多 4)表中数据量大 关于索引的sql语句: 1、create index 索引名 on 表(列); 2、drop index 索引 阅读全文
摘要:
create table emp2 ( empno number(4), ename varchar2(10), job varchar2(9), mgr number(4), hiredate date, sal number(7,2), comm number(7,2), deptno numb 阅读全文
摘要:
create table emp2 ( empno number(4), ename varchar2(10), job varchar2(9), mgr number(4), hiredate date, sal number(7,2), comm number(7,2), deptno numb 阅读全文
摘要:
create table emp2 ( empno number(4), ename varchar2(10), job varchar2(9), mgr number(4), hiredate date, sal number(7,2), comm number(7,2), deptno numb 阅读全文
摘要:
create table emp2 ( empno number(4), ename varchar2(10), job varchar2(9), mgr number(4), hiredate date, sal number(7,2), comm number(7,2), deptno numb 阅读全文
摘要:
create table emp2 ( empno number(4), ename varchar2(10), job varchar2(9), mgr number(4), hiredate date, sal number(7,2), comm number(7,2), deptno numb 阅读全文
摘要:
create table emp2 ( empno number(4), ename varchar2(10), job varchar2(9), mgr number(4), hiredate date, sal number(7,2), comm number(7,2), deptno numb 阅读全文
摘要:
create table emp2 ( empno number(4), ename varchar2(10), job varchar2(9), mgr number(4), hiredate date, sal number(7,2), comm number(7,2), deptno numb 阅读全文
摘要:
网址:https://mp.weixin.qq.com/s?__biz=MzI5MzIwNDI1MQ==&mid=2650131616&idx=2&sn=68fc895fe8846901de4369fcbcc91835&chksm=f474d4d4c3035dc2be66b9032fef0878fa 阅读全文
摘要:
网址:https://mp.weixin.qq.com/s?__biz=MzI5MzIwNDI1MQ==&mid=2650131565&idx=2&sn=69c719f31f9986b8af3a3f7bf85659d2&chksm=f474d419c3035d0f5f3d7127846eee0969 阅读全文
摘要:
create tablespace test datafile 'C:\test.dbf' size 20M; create table student( id number, name varchar2(20), sex varchar2(20), age number, address varc 阅读全文
摘要:
SQL查询 create table yuangong ( id number, name varchar2(50), zhiwei varchar2(50), age number, sex varchar2(20) ) tablespace test insert into yuangong v 阅读全文
摘要:
sql查询 oracle高级函数 create table yuangong ( id number, name varchar2(50), zhiwei varchar2(50), age number, sex varchar2(20) ) tablespace test insert into 阅读全文
摘要:
sql查询 create table yuangong ( id number, name varchar2(50), zhiwei varchar2(50), age number, sex varchar2(20) ) tablespace test insert into yuangong v 阅读全文
摘要:
sql查询 create table yuangong ( id number, name varchar2(50), zhiwei varchar2(50), age number, sex varchar2(20) ) tablespace test insert into yuangong v 阅读全文
摘要:
约束 1、主键约束 : primary key select * from student08; create table student08 ( id number primary key, /*创建主键约束*/ name varchar2(20), sex varchar2(20), age n 阅读全文