title1

Tables (5)

DEPARTMENT

  • Key (depID) — int — Primary key — NOT NULL
  • Field (name) — char(15)
  • Field (email) — char(20)
  • Field (phone) — char(15)
  • Field (description) — text
  • Field (manageStartDate) — date
  • Key2 (managerID) — int — Foreign key → EMPLOYEE.Key2 — NOT NULL

DEPENDENT

  • Key (dependentID) — int — Primary key — NOT NULL
  • Field (name) — char(30)
  • Field (birthDate) — date
  • Field (description) — text
  • Key2 (empID) — int — Foreign key → EMPLOYEE.Key2 — NOT NULL

EMPLOYEE

  • Key2 (empID) — int — Primary key — NOT NULL
  • Field (name) — char(30)
  • Field (birthDate) — date
  • Field (address) — varchar(50)
  • Field (phone) — char(11)

ON_PROJECT

  • Key (empID) — int — Foreign key → EMPLOYEE.Key2 — NOT NULL
  • Key2 (proID) — int — Foreign key → PROJECT.Key — NOT NULL
  • Field (timePerWeek) — float — NOT NULL

PROJECT

  • Key (proID) — int — Primary key — NOT NULL
  • Field (name) — char(50)
  • Field (description) — text