1CREATE TABLE hr.admin_emp (
2 empno NUMBER(5) PRIMARY KEY,
3 ename VARCHAR2(15) NOT NULL,
4 ssn NUMBER(9) ENCRYPT,
5 job VARCHAR2(10),
6 mgr NUMBER(5),
7 hiredate DATE DEFAULT (sysdate),
8 photo BLOB,
9 sal NUMBER(7,2),
10 hrly_rate NUMBER(7,2) GENERATED ALWAYS AS (sal/2080),
11 comm NUMBER(7,2),
12 deptno NUMBER(3) NOT NULL
13 CONSTRAINT admin_dept_fkey REFERENCES hr.departments
14 (department_id))