Columns

Constraints

Grants

Statistics

Triggers

Dependencies

Details

Partitions

Indexes


COLUMN_NAME DATA_TYPE NULLABLE DATA_DEFAULT COLUMN_ID COMMENTS
DEPARTMENT_ID NUMBER(4,0) No null 1 Primary key column of departments table.
DEPARTMENT_NAME VARCHAR2(30 BYTE) No null 2 A not null column that shows name of a department. Administration, Marketing, Purchasing, Human Resources, Shipping, IT, Executive, Public Relations, Sales, Finance, and Accounting. 
MANAGER_ID NUMBER(6,0) Yes null 3 Manager_id of a department. Foreign key to employee_id column of employees table. The manager_id column of the employee table references this column.
LOCATION_ID NUMBER(4,0) Yes null 4 Location id where a department is located. Foreign key to location_id column of locations table.
CONSTRAINT_NAME CONSTRAINT_TYPE SEARCH_CONDITION R_OWNER R_TABLE_NAME R_CONSTRAINT_NAME DELETE_RULE STATUS DEFERRABLE VALIDATED GENERATED BAD RELY LAST_CHANGE INDEX_OWNER INDEX_NAME INVALID VIEW_RELATED
DEPT_ID_PK Primary_Key null null null null null ENABLED NOT DEFERRABLE VALIDATED USER NAME null null 2011/08/28 null DEPT_ID_PK null null
DEPT_LOC_FK Foreign_Key null HR LOCATIONS LOC_ID_PK NO ACTION ENABLED NOT DEFERRABLE VALIDATED USER NAME null null 2011/08/28 null null null null
DEPT_MGR_FK Foreign_Key null HR EMPLOYEES EMP_EMP_ID_PK NO ACTION ENABLED NOT DEFERRABLE VALIDATED USER NAME null null 2011/08/28 null null null null
DEPT_NAME_NN Check "DEPARTMENT_NAME" IS NOT NULL null null null null ENABLED NOT DEFERRABLE VALIDATED USER NAME null null 2011/08/28 null null null null



Columns


COLUMN_NAME COLUMN_POSITION
DEPARTMENT_ID 1
COLUMN_NAME COLUMN_POSITION
LOCATION_ID 1
COLUMN_NAME COLUMN_POSITION
MANAGER_ID 1
COLUMN_NAME COLUMN_POSITION
DEPARTMENT_NAME null
PRIVILEGE GRANTEE GRANTABLE GRANTOR OBJECT_NAME
NAME VALUE
NUM_ROWS 27
BLOCKS 5
AVG_ROW_LEN 21
SAMPLE_SIZE 27
LAST_ANALYZED 2016/09/23
LAST_ANALYZED_SINCE 2016/09/23



Column Statistics


TRIGGER_NAME TRIGGER_TYPE TRIGGER_OWNER TRIGGERING_EVENT STATUS TABLE_NAME




OWNER NAME TYPE REFERENCED_OWNER REFERENCED_NAME REFERENCED_TYPE
HR EMP_DETAILS_VIEW VIEW HR DEPARTMENTS TABLE



References


OWNER NAME TYPE REFERENCED_OWNER REFERENCED_NAME REFERENCED_TYPE
NAME VALUE
CREATED 2011/08/28
LAST_DDL_TIME 2011/08/28
OWNER HR
TABLE_NAME DEPARTMENTS
TABLESPACE_NAME USERS
CLUSTER_NAME null
IOT_NAME null
STATUS VALID
PCT_FREE 10
PCT_USED null
INI_TRANS 1
MAX_TRANS 255
INITIAL_EXTENT 65536
NEXT_EXTENT 1048576
MIN_EXTENTS 1
MAX_EXTENTS 2147483645
PCT_INCREASE null
FREELISTS null
FREELIST_GROUPS null
LOGGING YES
BACKED_UP N
NUM_ROWS 27
BLOCKS 5
EMPTY_BLOCKS 0
AVG_SPACE 0
CHAIN_CNT 0
AVG_ROW_LEN 21
AVG_SPACE_FREELIST_BLOCKS 0
NUM_FREELIST_BLOCKS 0
DEGREE 1
INSTANCES 1
CACHE N
TABLE_LOCK ENABLED
SAMPLE_SIZE 27
LAST_ANALYZED 2016/09/23
PARTITIONED NO
IOT_TYPE null
OBJECT_ID_TYPE null
TABLE_TYPE_OWNER null
TABLE_TYPE null
TEMPORARY N
SECONDARY N
NESTED NO
BUFFER_POOL DEFAULT
ROW_MOVEMENT DISABLED
GLOBAL_STATS YES
USER_STATS NO
DURATION null
SKIP_CORRUPT DISABLED
MONITORING YES
CLUSTER_OWNER null
DEPENDENCIES DISABLED
COMPRESSION DISABLED
COMPRESS_FOR null
DROPPED NO
COMMENTS Departments table that shows details of departments where employees work. Contains 27 rows; references with locations, employees, and job_history tables.
PARTITION_NAME LAST_ANALYZED NUM_ROWS BLOCKS SAMPLE_SIZE HIGH_VALUE




INDEX_OWNER INDEX_NAME UNIQUENESS STATUS INDEX_TYPE TEMPORARY PARTITIONED FUNCIDX_STATUS JOIN_INDEX COLUMNS COLUMN_EXPRESSION
HR DEPT_ID_PK UNIQUE VALID NORMAL N NO null NO DEPARTMENT_ID null
HR DEPT_LOCATION_IX NONUNIQUE VALID NORMAL N NO null NO LOCATION_ID null




INDEX_OWNER INDEX_NAME TABLE_OWNER TABLE_NAME COLUMN_NAME COLUMN_POSITION COLUMN_LENGTH CHAR_LENGTH DESCEND
HR DEPT_ID_PK HR DEPARTMENTS DEPARTMENT_ID 1 22 0 ASC
INDEX_OWNER INDEX_NAME TABLE_OWNER TABLE_NAME COLUMN_NAME COLUMN_POSITION COLUMN_LENGTH CHAR_LENGTH DESCEND
HR DEPT_LOCATION_IX HR DEPARTMENTS LOCATION_ID 1 22 0 ASC