221020 erd practice
Tables (5)
Contact Interest (contact_interest)
- Interest Id (interest_id) — BIGINT(11) — Foreign key → Interests.Interest Id — NOT NULL
- Contact Id (contact_id) — BIGINT(11) — Foreign key → My Contacts.Contact Id — NOT NULL
Interests (interests)
- Interest Id (interest_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 (birthday) — CHAR(8)
- Status (status) — VARCHAR(255) — Foreign key → Status.Status — NOT NULL
- Zip Code Id (zip_code_id) — BIGINT(11) — Foreign key → Zip Code.Zip Code Id — NOT NULL
Status (status)
- Status (status) — VARCHAR(255) — Primary key — NOT NULL
Zip Code (zip_code)
- Zip Code Id (zip_code_id) — BIGINT(11) — Primary key — NOT NULL
- City (city) — VARCHAR(255)
- State (state) — VARCHAR(255)