没有合适的资源?快使用搜索试试~ 我知道了~
数据结构左右连接
需积分: 10 0 下载量 72 浏览量
2012-05-23
08:17:51
上传
评论
收藏 903B TXT 举报
温馨提示
试读
2页
数据结构中关于左连接、右连接、授权的代码操作
资源推荐
资源详情
资源评论
/*左连接、右连接、授权*/
alter user scott account unlock;
conn scott/tiger;
select ename,d.deptno,dname from emp e,dept d
where e.deptno(+)=d.deptno
order by ename;
select ename,d.deptno,dname from emp e,dept d
where e.deptno=d.deptno(+)
order by ename;
conn system/****;
create user zz identified by zz;
grant create session to zz;
conn zz/zz;
grant create table to zz;
create table student(id number);/*没有表空间权限*/
alter user zz quota 1M on sysaux;
select * from user_ts_quotas;
grant unlimited tablespace to zz;
conn system/****;
revoke create table from zz;
conn zz/zz;
grant select on student to scott;
conn scott/tiger;
select count(*) from zz.student;
conn zz/zz;
alter user scott account unlock;
conn scott/tiger;
select ename,d.deptno,dname from emp e,dept d
where e.deptno(+)=d.deptno
order by ename;
select ename,d.deptno,dname from emp e,dept d
where e.deptno=d.deptno(+)
order by ename;
conn system/****;
create user zz identified by zz;
grant create session to zz;
conn zz/zz;
grant create table to zz;
create table student(id number);/*没有表空间权限*/
alter user zz quota 1M on sysaux;
select * from user_ts_quotas;
grant unlimited tablespace to zz;
conn system/****;
revoke create table from zz;
conn zz/zz;
grant select on student to scott;
conn scott/tiger;
select count(*) from zz.student;
conn zz/zz;
资源评论
zjj1205
- 粉丝: 0
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功