13_django_homework
Tables (7)
19 (Untitled4)
- Key — Primary key — NOT NULL
- 이름 (Field)
- 특이사항 (Field2)
Branch (Convenience)
- branch (Key) — Primary key — NOT NULL
- 지점이름 (location) — VARCHAR(100) — NOT NULL
- 위치 (Field) — VARCHAR(100)
CEO (Untitled)
- branch (Key2) — Foreign key → Store.branch — NOT NULL
- Key — Foreign key → Store.store — NOT NULL
- 이름 (Field) — VARCHAR(20)
- 연락처 (Field2) — VARCHAR(20)
- 성별 (Field3) — BOOLEAN
Manager (CopyOfUntitled)
- branch (Key2) — Foreign key → Branch.branch — NOT NULL
- 이름 (Field) — VARCHAR(20)
- 연락처 (Field2) — VARCHAR(20)
- 성별 (Field3) — BOOLEAN
Product (Untitled2)
- product (Key) — Primary key — NOT NULL
- store (Key3) — Foreign key → Store.store — NOT NULL
- branch (Key22) — Foreign key → Store.branch — NOT NULL
- 이름 (Field) — VARCHAR(20)
- 정가 (Field2) — VARCHAR(20)
- 유통기한 (Field3) — INT
- 할인여부 (Field4) — BOOLEAN
- 미성년구매불가여부 (Field5) — BOOLEAN
- 브랜드 (Field6) — VARCHAR(20)
- 이벤트여부 (Field7)
- Key (Key2) — Foreign key → sale.Key — NOT NULL
- Key (Key4) — Foreign key → 19.Key — NOT NULL
Store (Untitled3)
- store (Key) — Primary key — NOT NULL
- branch (Key2) — Foreign key → Branch.branch — NOT NULL
- 편의점 이름 (Field) — VARCHAR(20)
- 본사 직영 여부 (Field2) — BOOLEAN
sale (Sale)
- Key — Primary key — NOT NULL
- 정가 (Field)
- 할인가 (Field2)
- 할인폭 (Field3)
- product (Key2) — Foreign key → Product.product — NOT NULL
- store (Key3) — Foreign key → Product.store — NOT NULL
- branch (Key22) — Foreign key → Product.branch — NOT NULL