(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
CREATE TABLE state
(state_code CHAR(2) PRIMARY KEY,
state VARCHAR2(30) )
ORGANIZATION INDEX;
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
CREATE GLOBAL TEMPORARY TABLE current_orders
(order_no number,
cust_no number,
order_date date,
total_order_price number(7,2))
ON COMMIT PRESERVE ROWS;
GRANT ALL on current_orders TO dave;
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
CREATE TABLE dept
(deptno NUMBER(2),
dname VARCHAR2(20),
loc VARCHAR2(20))
CLUSTER emp_dept_cl (deptno);
CREATE TABLE emp
(empno NUMBER(2),
ename VARCHAR2(20),
job VARCHAR2(20),
deptno NUMBER(2))
CLUSTER emp_dept_cl (deptno);
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
CREATE TYPE CourseType AS OBJECT (
cnum char(3),
credits number,
coursedescription varchar2(40),
locn varchar2(40));
CREATE TYPE CourseList AS TABLE OF CourseType;
CREATE TABLE DEPT (dNo integer(4),
dName varchar2(32),
offerings courseList)
NESTED TABLE offerings STORE AS courses_stor_tab;
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
CREATE TABLE skill_table OF skill_type;