SET SCAN ON
SET DEFINE ON
SPOOL &SpoolFile

REM *************************************************
PROMPT Dropping the Objects if they already exist
REM *************************************************
DROP TABLE EMPLOYEES CASCADE CONSTRAINTS ; 
DROP TABLE JOBS CASCADE CONSTRAINTS ; 
DROP TABLE DEPARTMENTS CASCADE CONSTRAINTS ; 
DROP SEQUENCE employees_id_seq;

REM *************************************************
PROMPT Creating Table DEPARTMENTS 
REM *************************************************
CREATE TABLE DEPARTMENTS ( 
  DEPARTMENT_ID    NUMBER (4)    NOT NULL, 
  DEPARTMENT_NAME  VARCHAR2 (30)
     CONSTRAINT DEPT_NAME_NN   NOT NULL, 
  LOCATION         VARCHAR2(30)
     CONSTRAINT DEPT_LOC_NN   NOT NULL,
  CONSTRAINT DEPT_ID_PK
  PRIMARY KEY ( DEPARTMENT_ID ) ) ; 

REM *************************************************
PROMPT Creating Table JOBS 
REM *************************************************
CREATE TABLE JOBS ( 
  JOB_ID      VARCHAR2 (10)  NOT NULL, 
  JOB_TITLE   VARCHAR2 (35)
     CONSTRAINT JOB_TITLE_NN   NOT NULL, 
  MIN_SALARY  NUMBER (6), 
  MAX_SALARY  NUMBER (6), 
  CONSTRAINT JOB_ID_PK
  PRIMARY KEY ( JOB_ID ) ) ; 

REM *************************************************
PROMPT Creating Table EMPLOYEES 
REM *************************************************
CREATE TABLE EMPLOYEES ( 
  EMPLOYEE_ID     NUMBER (6)    NOT NULL, 
  FIRST_NAME      VARCHAR2 (20), 
  LAST_NAME       VARCHAR2 (25)
     CONSTRAINT EMP_LAST_NAME_NN   NOT NULL, 
  EMAIL           VARCHAR2 (50)
     CONSTRAINT EMP_EMAIL_NN   NOT NULL, 
  PHONE_NUMBER    VARCHAR2 (20), 
  HIRE_DATE       DATE
     CONSTRAINT EMP_HIRE_DATE_NN   NOT NULL, 
  JOB_ID          VARCHAR2 (10)
     CONSTRAINT EMP_JOB_NN   NOT NULL, 
  SALARY          NUMBER (8,2), 
  COMMISSION_PCT  NUMBER (2), 
  DEPARTMENT_ID   NUMBER (4), 
  CONSTRAINT EMP_EMP_ID_PK
  PRIMARY KEY ( EMPLOYEE_ID ) ) ; 

REM *************************************************
PROMPT Creating Constraints for the Tables 
REM *************************************************
ALTER TABLE EMPLOYEES ADD CONSTRAINT 
EMP_SALARY_MIN CHECK  (salary > 0 ) ;

CREATE INDEX EMP_DEPARTMENT_IX ON 
  EMPLOYEES(DEPARTMENT_ID); 

CREATE INDEX EMP_JOB_IX ON 
  EMPLOYEES(JOB_ID); 

CREATE INDEX EMP_NAME_IX ON 
  EMPLOYEES(LAST_NAME, FIRST_NAME); 

ALTER TABLE EMPLOYEES ADD  CONSTRAINT EMP_DEPT_FK
 FOREIGN KEY (DEPARTMENT_ID) 
  REFERENCES DEPARTMENTS (DEPARTMENT_ID) ;

ALTER TABLE EMPLOYEES ADD  CONSTRAINT EMP_JOB_FK
 FOREIGN KEY (JOB_ID) 
  REFERENCES JOBS (JOB_ID) ;

REM *************************************************
PROMPT Populating DEPARTMENTS table with initial data 
REM *************************************************
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME, LOCATION ) VALUES ( 
10, 'Administration', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME, LOCATION ) VALUES ( 
20, 'Marketing', 'Toronto'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME, LOCATION ) VALUES ( 
30, 'Purchasing', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
40, 'Human Resources', 'London'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
50, 'Shipping', 'South San Francisco'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
60, 'IT', 'Southlake'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
70, 'Public Relations', 'Munich'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
80, 'Sales', 'Oxford'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
90, 'Executive', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
100, 'Finance', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
110, 'Accounting', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
120, 'Treasury', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
130, 'Corporate Tax', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
140, 'Control And Credit', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
150, 'Shareholder Services', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
160, 'Benefits', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
170, 'Manufacturing', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
180, 'Construction', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
190, 'Contracting', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
200, 'Operations', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
210, 'IT Support', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
220, 'NOC', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
230, 'IT Helpdesk', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
240, 'Government Sales', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
250, 'Retail Sales', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
260, 'Recruiting', 'Seattle'); 
INSERT INTO DEPARTMENTS ( DEPARTMENT_ID, DEPARTMENT_NAME,  LOCATION ) VALUES ( 
270, 'Payroll', 'Seattle'); 
commit;

REM *************************************************
PROMPT Populating JOBS table with initial data 
REM *************************************************
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'AD_PRES', 'President', 20000, 40000); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'AD_VP', 'Administration Vice President', 15000, 30000); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'AD_ASST', 'Administration Assistant', 3000, 6000); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'FI_MGR', 'Finance Manager', 8200, 16000); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'FI_ACCOUNT', 'Accountant', 4200, 9000); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'AC_MGR', 'Accounting Manager', 8200, 16000); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'AC_ACCOUNT', 'Public Accountant', 4200, 9000); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'SA_MAN', 'Sales Manager', 10000, 20000); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'SA_REP', 'Sales Representative', 6000, 12000); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'PU_MAN', 'Purchasing Manager', 8000, 15000); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'PU_CLERK', 'Purchasing Clerk', 2500, 5500); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'ST_MAN', 'Stock Manager', 5500, 8500); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'ST_CLERK', 'Stock Clerk', 2000, 5000); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'SH_CLERK', 'Shipping Clerk', 2500, 5500); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'IT_PROG', 'Programmer', 4000, 10000); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'MK_MAN', 'Marketing Manager', 9000, 15000); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'MK_REP', 'Marketing Representative', 4000, 9000); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'HR_REP', 'Human Resources Representative', 4000, 9000); 
INSERT INTO JOBS ( JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) VALUES ( 
'PR_REP', 'Public Relations Representative', 4500, 10500); 
commit;

REM *************************************************
PROMPT Populating EMPLOYEES table with initial data 
REM *************************************************
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT, DEPARTMENT_ID ) VALUES ( 
100, 'Steven', 'King', 'SKING@oracle.com', '515.123.4567',  TO_Date( '06/17/1987 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'AD_PRES', 24000, NULL, 90); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT, DEPARTMENT_ID ) VALUES ( 
101, 'Neena', 'Kochhar', 'NKOCHHAR@oracle.com', '515.123.4568',  TO_Date( '09/21/1989 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'AD_VP', 17000, NULL, 90); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT, DEPARTMENT_ID ) VALUES ( 
102, 'Lex', 'De Haan', 'LDEHAAN@oracle.com', '515.123.4569',  TO_Date( '01/13/1993 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'AD_VP', 17000, NULL, 90); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
103, 'Alexander', 'Hunold', 'AHUNOLD@oracle.com', '590.423.4567',  TO_Date( '01/03/1990 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'IT_PROG', 9000, NULL, 60); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
104, 'Bruce', 'Ernst', 'BERNST@oracle.com', '590.423.4568',  TO_Date( '05/21/1991 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'IT_PROG', 6000, NULL, 60); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
105, 'David', 'Austin', 'DAUSTIN@oracle.com', '590.423.4569',  TO_Date( '06/25/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'IT_PROG', 4800, NULL, 60); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
106, 'Valli', 'Pataballa', 'VPATABAL@oracle.com', '590.423.4560',  TO_Date( '02/05/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'IT_PROG', 4800, NULL, 60); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
107, 'Diana', 'Lorentz', 'DLORENTZ@oracle.com', '590.423.5567',  TO_Date( '02/07/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'IT_PROG', 4200, NULL, 60); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
108, 'Nancy', 'Greenberg', 'NGREENBE@oracle.com', '515.124.4569',  TO_Date( '08/17/1994 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'FI_MGR', 12000, NULL, 100); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
109, 'Daniel', 'Faviet', 'DFAVIET@oracle.com', '515.124.4169',  TO_Date( '08/16/1994 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'FI_ACCOUNT', 9000, NULL, 100); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
110, 'John', 'Chen', 'JCHEN@oracle.com', '515.124.4269',  TO_Date( '09/28/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'FI_ACCOUNT', 8200, NULL, 100); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
111, 'Ismael', 'Sciarra', 'ISCIARRA@oracle.com', '515.124.4369',  TO_Date( '09/30/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'FI_ACCOUNT', 7700, NULL, 100); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
112, 'Jose Manuel', 'Urman', 'JMURMAN@oracle.com', '515.124.4469',  TO_Date( '03/07/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'FI_ACCOUNT', 7800, NULL, 100); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
113, 'Luis', 'Popp', 'LPOPP@oracle.com', '515.124.4567',  TO_Date( '12/07/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'FI_ACCOUNT', 6900, 0.01, 100); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
114, 'Den', 'Raphaely', 'DRAPHEAL@oracle.com', '515.127.4561',  TO_Date( '12/07/1994 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'PU_MAN', 11000, 0.11, 30); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
115, 'Alexander', 'Khoo', 'AKHOO@oracle.com', '515.127.4562',  TO_Date( '05/18/1995 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'PU_CLERK', 3100, 0.1, 30); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
116, 'Shelli', 'Baida', 'SBAIDA@oracle.com', '515.127.4563',  TO_Date( '12/24/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'PU_CLERK', 2900, NULL, 30); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
117, 'Sigal', 'Tobias', 'STOBIAS@oracle.com', '515.127.4564',  TO_Date( '07/24/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'PU_CLERK', 2800, NULL, 30); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
118, 'Guy', 'Himuro', 'GHIMURO@oracle.com', '515.127.4565',  TO_Date( '11/15/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'PU_CLERK', 2600, NULL, 30); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
119, 'Karen', 'Colmenares', 'KCOLMENA@oracle.com', '515.127.4566',  TO_Date( '08/10/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'PU_CLERK', 2500, NULL, 30); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
120, 'Matthew', 'Weiss', 'MWEISS@oracle.com', '650.123.1234',  TO_Date( '07/18/1996 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_MAN', 8000, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
121, 'Adam', 'Fripp', 'AFRIPP@oracle.com', '650.123.2234',  TO_Date( '04/10/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_MAN', 8200, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
122, 'Payam', 'Kaufling', 'PKAUFLIN@oracle.com', '650.123.3234',  TO_Date( '05/01/1995 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_MAN', 7900, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
123, 'Shanta', 'Vollman', 'SVOLLMAN@oracle.com', '650.123.4234',  TO_Date( '10/10/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_MAN', 6500, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
124, 'Kevin', 'Mourgos', 'KMOURGOS@oracle.com', '650.123.5234',  TO_Date( '11/16/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_MAN', 5800, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
125, 'Julia', 'Nayer', 'JNAYER@oracle.com', '650.124.1214',  TO_Date( '07/16/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 3200, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
126, 'Irene', 'Mikkilineni', 'IMIKKILI@oracle.com', '650.124.1224',  TO_Date( '09/28/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 2700, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
127, 'James', 'Landry', 'JLANDRY@oracle.com', '650.124.1334',  TO_Date( '01/14/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 2400, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
128, 'Steven', 'Markle', 'SMARKLE@oracle.com', '650.124.1434',  TO_Date( '03/08/2000 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 2200, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
129, 'Laura', 'Bissot', 'LBISSOT@oracle.com', '650.124.5234',  TO_Date( '08/20/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 3300, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
130, 'Mozhe', 'Atkinson', 'MATKINSO@oracle.com', '650.124.6234',  TO_Date( '10/30/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 2800, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
131, 'James', 'Marlow', 'JAMRLOW@oracle.com', '650.124.7234',  TO_Date( '02/16/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 2500, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
132, 'TJ', 'Olson', 'TJOLSON@oracle.com', '650.124.8234',  TO_Date( '04/10/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 2100, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
133, 'Jason', 'Mallin', 'JMALLIN@oracle.com', '650.127.1934',  TO_Date( '06/14/1996 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 3300, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
134, 'Michael', 'Rogers', 'MROGERS@oracle.com', '650.127.1834',  TO_Date( '08/26/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 2900, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
135, 'Ki', 'Gee', 'KGEE@oracle.com', '650.127.1734',  TO_Date( '12/12/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 2400, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
136, 'Hazel', 'Philtanker', 'HPHILTAN@oracle.com', '650.127.1634',  TO_Date( '02/06/2000 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 2200, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
137, 'Renske', 'Ladwig', 'RLADWIG@oracle.com', '650.121.1234',  TO_Date( '07/14/1995 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 3600, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
138, 'Stephen', 'Stiles', 'SSTILES@oracle.com', '650.121.2034',  TO_Date( '10/26/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 3200, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
139, 'John', 'Seo', 'JSEO@oracle.com', '650.121.2019',  TO_Date( '02/12/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 2700, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
140, 'Joshua', 'Patel', 'JPATEL@oracle.com', '650.121.1834',  TO_Date( '04/06/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 2500, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
141, 'Trenna', 'Rajs', 'TRAJS@oracle.com', '650.121.8009',  TO_Date( '10/17/1995 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 3500, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
142, 'Curtis', 'Davies', 'CDAVIES@oracle.com', '650.121.2994',  TO_Date( '01/29/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 3100, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
143, 'Randall', 'Matos', 'RMATOS@oracle.com', '650.121.2874',  TO_Date( '03/15/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 2600, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
144, 'Peter', 'Vargas', 'PVARGAS@oracle.com', '650.121.2004',  TO_Date( '07/09/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'ST_CLERK', 2500, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
145, 'John', 'Russell', 'JRUSSEL@oracle.com', '011.44.1344.429268',  TO_Date( '10/01/1996 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_MAN', 14000, 40, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
146, 'Karen', 'Partners', 'KPARTNER@oracle.com', '011.44.1344.467268',  TO_Date( '01/05/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_MAN', 13500, 30, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
147, 'Alberto', 'Errazuriz', 'AERRAZUR@oracle.com', '011.44.1344.429278',  TO_Date( '03/10/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_MAN', 12000, 30, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
148, 'Gerald', 'Cambrault', 'GCAMBRAU@oracle.com', '011.44.1344.619268',  TO_Date( '10/15/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_MAN', 11000, 30, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
149, 'Eleni', 'Zlotkey', 'EZLOTKEY@oracle.com', '011.44.1344.429018',  TO_Date( '01/29/2000 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_MAN', 10500, 20, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
150, 'Peter', 'Tucker', 'PTUCKER@oracle.com', '011.44.1344.129268',  TO_Date( '01/30/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 10000, 30, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
151, 'David', 'Bernstein', 'DBERNSTE@oracle.com', '011.44.1344.345268',  TO_Date( '03/24/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 9500, 25, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
152, 'Peter', 'Hall', 'PHALL@oracle.com', '011.44.1344.478968',  TO_Date( '08/20/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 9000, 25, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
153, 'Christopher', 'Olsen', 'COLSEN@oracle.com', '011.44.1344.498718',  TO_Date( '03/30/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 8000, 20, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
154, 'Nanette', 'Cambrault', 'NCAMBRAU@oracle.com', '011.44.1344.987668',  TO_Date( '12/09/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 7500, 20, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
155, 'Oliver', 'Tuvault', 'OTUVAULT@oracle.com', '011.44.1344.486508',  TO_Date( '11/23/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 7000, 15, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
156, 'Janette', 'King', 'JKING@oracle.com', '011.44.1345.429268',  TO_Date( '01/30/1996 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 10000, 35, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
157, 'Patrick', 'Sully', 'PSULLY@oracle.com', '011.44.1345.929268',  TO_Date( '03/04/1996 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 9500, 35, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
158, 'Allan', 'McEwen', 'AMCEWEN@oracle.com', '011.44.1345.829268',  TO_Date( '08/01/1996 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 9000, 35, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
159, 'Lindsey', 'Smith', 'LSMITH@oracle.com', '011.44.1345.729268',  TO_Date( '03/10/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 8000, 30, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
160, 'Louise', 'Doran', 'LDORAN@oracle.com', '011.44.1345.629268',  TO_Date( '12/15/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 7500, 30, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
161, 'Sarath', 'Sewall', 'SSEWALL@oracle.com', '011.44.1345.529268',  TO_Date( '11/03/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 7000, 25, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
162, 'Clara', 'Vishney', 'CVISHNEY@oracle.com', '011.44.1346.129268',  TO_Date( '11/11/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 10500, 50, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
163, 'Danielle', 'Greene', 'DGREENE@oracle.com', '011.44.1346.229268',  TO_Date( '03/19/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 9500, 15, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
164, 'Mattea', 'Marvins', 'MMARVINS@oracle.com', '011.44.1346.329268',  TO_Date( '01/24/2000 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 7200, 10, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
165, 'David', 'Lee', 'DLEE@oracle.com', '011.44.1346.529268',  TO_Date( '02/23/2000 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 6800, 10, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
166, 'Sundar', 'Ande', 'SANDE@oracle.com', '011.44.1346.629268',  TO_Date( '03/24/2000 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 6400, 10, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
167, 'Amit', 'Banda', 'ABANDA@oracle.com', '011.44.1346.729268',  TO_Date( '04/21/2000 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 6200, 10, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
168, 'Lisa', 'Ozer', 'LOZER@oracle.com', '011.44.1343.929268',  TO_Date( '03/11/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 11500, 25, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
169, 'Harrison', 'Bloom', 'HBLOOM@oracle.com', '011.44.1343.829268',  TO_Date( '03/23/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 10000, 20, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
170, 'Tayler', 'Fox', 'TFOX@oracle.com', '011.44.1343.729268',  TO_Date( '01/24/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 9600, 20, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
171, 'William', 'Smith', 'WSMITH@oracle.com', '011.44.1343.629268',  TO_Date( '02/23/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 7400, 12, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
172, 'Elizabeth', 'Bates', 'EBATES@oracle.com', '011.44.1343.529268',  TO_Date( '03/24/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 7300, 15, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
173, 'Sundita', 'Kumar', 'SKUMAR@oracle.com', '011.44.1343.329268',  TO_Date( '04/21/2000 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 6100, 10, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
174, 'Ellen', 'Abel', 'EABEL@oracle.com', '011.44.1644.429267',  TO_Date( '05/11/1996 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 11000, 30, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
175, 'Alyssa', 'Hutton', 'AHUTTON@oracle.com', '011.44.1644.429266',  TO_Date( '03/19/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 8800, 25, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
176, 'Jonathon', 'Taylor', 'JTAYLOR@oracle.com', '011.44.1644.429265',  TO_Date( '03/24/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 8600, 20, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
177, 'Jack', 'Livingston', 'JLIVINGS@oracle.com', '011.44.1644.429264',  TO_Date( '04/23/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 8400, 20, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
178, 'Kimberely', 'Grant', 'KGRANT', '011.44.1644.429263',  TO_Date( '05/24/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 7000, 15, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
179, 'Charles', 'Johnson', 'CJOHNSON@oracle.com', '011.44.1644.429262',  TO_Date( '01/04/2000 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SA_REP', 6200, 20, 80); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
180, 'Winston', 'Taylor', 'WTAYLOR@oracle.com', '650.507.9876',  TO_Date( '01/24/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 3200, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
181, 'Jean', 'Fleaur', 'JFLEAUR@oracle.com', '650.507.9877',  TO_Date( '02/23/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 3100, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
182, 'Martha', 'Sullivan', 'MSULLIVA@oracle.com', '650.507.9878',  TO_Date( '06/21/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 2500, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
183, 'Girard', 'Geoni', 'GGEONI@oracle.com', '650.507.9879',  TO_Date( '02/03/2000 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 2800, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
184, 'Nandita', 'Sarchand', 'NSARCHAN@oracle.com', '650.509.1876',  TO_Date( '01/27/1996 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 4200, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
185, 'Alexis', 'Bull', 'ABULL@oracle.com', '650.509.2876',  TO_Date( '02/20/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 4100, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
186, 'Julia', 'Dellinger', 'JDELLING@oracle.com', '650.509.3876',  TO_Date( '06/24/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 3400, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
187, 'Anthony', 'Cabrio', 'ACABRIO@oracle.com', '650.509.4876',  TO_Date( '02/07/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 3000, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
188, 'Kelly', 'Chung', 'KCHUNG@oracle.com', '650.505.1876',  TO_Date( '06/14/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 3800, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
189, 'Jennifer', 'Dilly', 'JDILLY@oracle.com', '650.505.2876',  TO_Date( '08/13/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 3600, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
190, 'Timothy', 'Gates', 'TGATES@oracle.com', '650.505.3876',  TO_Date( '07/11/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 2900, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
191, 'Randall', 'Perkins', 'RPERKINS@oracle.com', '650.505.4876',  TO_Date( '12/19/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 2500, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
192, 'Sarah', 'Bell', 'SBELL@oracle.com', '650.501.1876',  TO_Date( '02/04/1996 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 4000, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
193, 'Britney', 'Everett', 'BEVERETT@oracle.com', '650.501.2876',  TO_Date( '03/03/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 3900, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
194, 'Samuel', 'McCain', 'SMCCAIN@oracle.com', '650.501.3876',  TO_Date( '07/01/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 3200, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
195, 'Vance', 'Jones', 'VJONES@oracle.com', '650.501.4876',  TO_Date( '03/17/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 2800, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
196, 'Alana', 'Walsh', 'AWALSH@oracle.com', '650.507.9811',  TO_Date( '04/24/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 3100, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
197, 'Kevin', 'Feeney', 'KFEENEY@oracle.com', '650.507.9822',  TO_Date( '05/23/1998 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 3000, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
198, 'Donald', 'OConnell', 'DOCONNEL@oracle.com', '650.507.9833',  TO_Date( '06/21/1999 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 2600, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
199, 'Douglas', 'Grant', 'DGRANT@oracle.com', '650.507.9844',  TO_Date( '01/13/2000 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SH_CLERK', 2600, NULL, 50); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
200, 'Jennifer', 'Whalen', 'JWHALEN@oracle.com', '515.123.4444',  TO_Date( '09/17/1987 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'AD_ASST', 4400, NULL, 10); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
201, 'Michael', 'Hartstein', 'MHARTSTE@oracle.com', '515.123.5555',  TO_Date( '02/17/1996 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'MK_MAN', 13000, NULL, 20); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
202, 'Pat', 'Fay', 'PFAY@oracle.com', '603.123.6666',  TO_Date( '08/17/1997 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'MK_REP', 6000, NULL, 20); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
203, 'Susan', 'Mavris', 'SMAVRIS@oracle.com', '515.123.7777',  TO_Date( '06/07/1994 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'HR_REP', 6500, NULL, 40); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
204, 'Hermann', 'Baer', 'HBAER@oracle.com', '515.123.8888',  TO_Date( '06/07/1994 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'PR_REP', 10000, NULL, 70); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
205, 'Shelley', 'Higgins', 'SHIGGINS@oracle.com', '515.123.8080',  TO_Date( '06/07/1994 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'AC_MGR', 12000, 10, 110); 
INSERT INTO EMPLOYEES ( EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE, JOB_ID, SALARY, COMMISSION_PCT,  DEPARTMENT_ID ) VALUES ( 
206, 'William', 'Gietz', 'WGIETZ@oracle.com', '515.123.8181',  TO_Date( '06/07/1994 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'AC_ACCOUNT', 8300, 30, 110); 
commit;

REM *************************************************
PROMPT Creating the sequence for EMPLOYEE ID 
REM *************************************************
CREATE SEQUENCE employees_id_seq START WITH 207 INCREMENT BY 1;

REM *************************************************
PROMPT Creating the trigger to populate Employee Id
REM *************************************************
CREATE OR REPLACE TRIGGER employees_before_insert
BEFORE INSERT ON employees FOR EACH ROW
BEGIN
  SELECT employees_id_seq.nextval
    INTO :new.employee_id
    FROM dual;
END employees_before_insert;
/
SPOOL OFF
SET SCAN OFF
SET DEFINE OFF
