关于oracle数据库的作业题!(半小时内答完给冲话费!)
发布网友
发布时间:2022-04-28 22:10
我来回答
共4个回答
热心网友
时间:2022-04-08 09:35
2:alter tablespace U101 add datafile 'd:\app\data\U101_01.DBF' size 50M;
3:create user 0101 identified by 0201 default tablespace U101;
4: grant connect,resource to 0101;
5:@init.sql
6:select * from emp where sal => (select max(sal) from emp where dept_no =20);
8:insert into dept(deptno,dname,loc) values(80,Computer,Beijing);
9:update emp set job='manager',sal=sal+1000 where ename='Martin';
10:delete from emp where ename='Martin';
11:create or replace view T_USER as select ename,sal,deptno from emp;
13:CREATE SEQUENCE deptno_seq INCREMENT 10 START 50;
14:create unique index uni_name on emp (ename);
15:exp system/jerry123789 owner=0101 file=d:\zhangxiaoming.dmp
热心网友
时间:2022-04-08 10:53
我从后面做起
15.exp scott/tiger datafile=d:\张小明.dmp commit=y ignore=y;
14.create unique index 索引名 on 表名 (属性名);
13.create sequence deptno_seq increment by 10start with 50 maxvalue 999999999;
12.用触发器搞定它
都很简单,孩子你还是好好看看书吧
热心网友
时间:2022-04-08 12:28
半小时能做完也不屑你的手机费了。追问做一题 5元话费~~ 能做多少是多少
追答
那我来做了,勉为其难了,正好没事做.
create tablespace test datafile 'd:\app\data\U+你的班号+学号.DBF' size 2M autoextend on next 1M maxsize 5M
3.create user 用户名 identified by 学号 default tablespace test
4.grant connect, resource to 用户名
不想做了太多了,这几个题不要你的话费了。
热心网友
时间:2022-04-08 14:19
不好意思,上班中……追问能做几道就几道被,每道题五块钱话费