SchoolSystem

Tables (7)

class (Untitled2)

  • c_id (Key) — varchar — Primary key — NOT NULL
  • c_name (class name) — varchar
  • score — int
  • day — varchar
  • Field

enrollment (Untitled3)

  • e_id (enroll number) — int — Primary key — NOT NULL
  • s.id (student id) — int — Foreign key → student.s.id — NOT NULL
  • c_id (Key) — varchar — Foreign key → class.c_id — NOT NULL
  • e_score (enroll score number) — char
  • Field

passport (Untitled5)

  • p_id (Key) — Primary key — NOT NULL
  • ssn (Key2) — Foreign key → person.ssn — NOT NULL

person (Untitled4)

  • ssn (Key) — Primary key — NOT NULL

post (Untitled7)

  • p_id (Key) — Primary key — NOT NULL
  • u_id (Key2) — Foreign key → user.u_id — NOT NULL

student (Untitled)

  • s.id (student id) — int — Primary key — NOT NULL
  • Field — varchar
  • email (student email) — varchar
  • phone (student phone number) — varchar
  • Field2

user (Untitled6)

  • u_id (Key) — Primary key — NOT NULL