You are on page 1of 1

Data Masker for Oracle

Oracle Sample HR Schema - Entity Relationship Diagram

An entity relationship diagram of the tables in the HR sample schema supplied with Oracle version 9i (and above).

JOB_HISTORY

employee_id number(6)
start_date date
end_date date
job_id varchar2(10)
department_id number(4)

DEPARTMENTS

EMPLOYEES department_id number(4)


department_name varchar2(30)
employee_id number(6) manager_id number(6)
first_name varchar2(20) location_id number(4)
last_name varchar2(25)
email varchar2(25)
JOBS phone_number varchar2(20)
hire_date date
job_id varchar2(10) job_id varchar2(10)
job_title varchar2(35) salary number(8,2)
min_salary number(6) commission_pct number(2,2)
max_salary number(6) manager_id number(6)
department_id number(4)

LOCATIONS

location_id number(4)
street_address varchar2(40)
postal_code varchar2(12)
city varchar2(30)
state_province varchar2(25)
country_id char(2)

COUNTRIES

country_id char(2)
country_name varchar2(40)
region_id number

REGIONS

region_id number
region_name varchar2(25)

Copyright © 2008 Net 2000 Ltd.


HRSampleSchemaERDiagram
v001