My Contacts

SAMPEL CONTACTS ERD

Tables (5)

Contact Interest (contact_interest)

  • Contact Id (contact_id) — BIGINT(11) — Foreign key → My Contacts.Contact Id — NOT NULL
  • Interests Id (interests_id) — BIGINT(11) — Foreign key → Interests.Interests Id — NOT NULL

Interests (interests)

  • Interests Id (interests_id) — BIGINT(11) — Primary key — NOT NULL
  • Interest (interest) — VARCHAR(255)

My Contacts (my_contacts)

  • Contact Id (contact_id) — BIGINT(11) — Primary key — NOT NULL
  • Last Name (last_name) — VARCHAR(255)
  • First Name (first_name) — VARCHAR(255)
  • Phone (phone) — VARCHAR(20)
  • Email (email) — VARCHAR(100)
  • Gender (gender) — CHAR(1)
  • Birthday (birthdayd) — CHAR(8)
  • Zip Code Id (zip_code_id) — BIGINT(11) — Foreign key → Zip code.Zip Code Id — NOT NULL
  • Status Id (status_id) — BIGINT(11) — Foreign key → Status.Status Id — NOT NULL

Status (status)

  • Status Id (status_id) — BIGINT(11) — Primary key — NOT NULL
  • Status (status) — VARCHAR(255)

Zip code (zip_code)

  • Zip Code Id (zip_code_id) — BIGINT(11) — Primary key — NOT NULL
  • City (city) — VARCHAR(255)
  • State (state) — VARCHAR(255)