Database reference - HR

HR -  tables

Table overview

name columns rows indexes triggers refers to refers from dependents data indexes partitions comment
COUNTRIES  25    8 kb  0 country table. Contains 25 rows. References with locations table. testing 
DEPARTMENTS  27    16 kb  0 Departments table that shows details of departments where employees work. Contains 27 rows; references with locations, employees, and job_history tables. 
EMPLOYEES  11  107  12  7 kb  48 kb  0 employees table. Contains 107 rows. References with departments, jobs, job_history tables. Contains a self reference. 
HTMLDB_PLAN_TABLE  35      0  
JOB_HISTORY  10    32 kb  0 Table that stores job history of the employees. If an employee changes departments within the job or changes jobs within the department, new rows get inserted into this table with old job information of the employee. Contains a complex primary key: employee_id+start_date. Contains 25 rows. References with jobs, employees, and departments tables. 
JOBS  19    8 kb  0 jobs table with job titles and salary ranges. Contains 19 rows. References with employees and job_history table. 
LOCATIONS  23  1 kb  32 kb  0 Locations table that contains specific address of a specific office, warehouse, and/or production site of a company. Does not store addresses / locations of customers. Contains 23 rows; references with the departments and countries tables. 
REGIONS    8 kb  0  
RSK_VERTRAGSAGGREGAT_T  24      0 dass ist doch auf deutsch oder? 

Tables referenced by views, procedures, or functions

name references
COUNTRIES 1
DEPARTMENTS 1
EMPLOYEES 1
JOBS 2
JOB_HISTORY 1
LOCATIONS 1
REGIONS 1

Tables not referenced by views, procedures, or functions

name
HTMLDB_PLAN_TABLE
RSK_VERTRAGSAGGREGAT_T


Largest tables by size on disk Largest tables by row count Largest indexes by size on disk



Documentation generated by SqlSpec